We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a098bc4 commit 5e5b1e4Copy full SHA for 5e5b1e4
supabase/client.py
@@ -232,7 +232,7 @@ def _get_token_header(self):
232
}
233
234
def _listen_to_auth_events(self, event: AuthChangeEvent, session):
235
- if event == "SIGNED_IN" or event == "TOKEN_REFRESHED" or event == "SIGNED_OUT":
+ if event in ["SIGNED_IN", "TOKEN_REFRESHED", "SIGNED_OUT"]:
236
# reset postgrest and storage instance on event change
237
self._postgrest = None
238
self._storage = None
0 commit comments