Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
totalimmersion committed Dec 6, 2024
1 parent c54f802 commit ad1d805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stream_chat/async_chat/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ async def update_member_partial(
raise StreamChannelException("user_id must not be empty")

payload = {"set": to_set or {}, "unset": to_unset or []}
return self.client.patch(f"{self.url}/member/{user_id}", data=payload)
return self.client.patch(f"{self.url}/member/{user_id}", data=payload)
2 changes: 1 addition & 1 deletion stream_chat/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ def update_member_partial(self, user_id: str, to_set: Dict = None, to_unset: Ite
raise StreamChannelException("user_id must not be empty")

payload = {"set": to_set or {}, "unset": to_unset or []}
return self.client.patch(f"{self.url}/member/{user_id}", data=payload)
return self.client.patch(f"{self.url}/member/{user_id}", data=payload)

0 comments on commit ad1d805

Please sign in to comment.