Skip to content

Commit

Permalink
fix: remove ensure connect on set_auth (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks authored Aug 17, 2024
1 parent bf779ec commit 31c01ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion realtime/_async/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ def summary(self) -> None:
for topic, channel in self.channels.items():
print(f"Topic: {topic} | Events: {[e for e, _ in channel.listeners]}]")

@ensure_connection
async def set_auth(self, token: Union[str, None]) -> None:
"""
Set the authentication token for the connection and update all joined channels.
Expand Down
1 change: 0 additions & 1 deletion realtime/_sync/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ def summary(self) -> None:
for topic, channel in self.channels.items():
print(f"Topic: {topic} | Events: {[e for e, _ in channel.listeners]}]")

@ensure_connection
def set_auth(self, token: Union[str, None]) -> None:
"""
Set the authentication token for the connection and update all joined channels.
Expand Down

0 comments on commit 31c01ed

Please sign in to comment.