Skip to content

Commit 42b8dc4

Browse files
committed
fix: Failing unit tests
1 parent a51d242 commit 42b8dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supertokens_python/recipe/session/session_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def assert_claims(
207207
for k in protected_props:
208208
try:
209209
del validate_claim_res.access_token_payload_update[k]
210-
except ValueError:
210+
except KeyError:
211211
pass
212212
await self.merge_into_access_token_payload(
213213
validate_claim_res.access_token_payload_update, user_context

0 commit comments

Comments
 (0)