Skip to content

Commit

Permalink
Updating data and users
Browse files Browse the repository at this point in the history
  • Loading branch information
darcivieira committed Jun 13, 2024
1 parent 178a579 commit fbf2f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kanbanize_sdk/endpoints/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def insert(self, body: UsersInsertBody | dict) -> dict:

payload = body.to_dict() if isinstance(body, UsersInsertBody) else body

return self.service.post(self.endpoint + '/invite', json=payload)
return self.service.post(self.endpoint + '/invite', data=payload)

def get(self, user_id: int) -> dict:
"""
Expand Down

0 comments on commit fbf2f87

Please sign in to comment.