Skip to content

Commit 34887f8

Browse files
committed
adding dev-v0.16.0 tag to this commit to ensure building
1 parent f1fbdf4 commit 34887f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html/supertokens_python/recipe/session/session_class.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.session_class</
235235
for k in protected_props:
236236
try:
237237
del validate_claim_res.access_token_payload_update[k]
238-
except ValueError:
238+
except KeyError:
239239
pass
240240
await self.merge_into_access_token_payload(
241241
validate_claim_res.access_token_payload_update, user_context
@@ -542,7 +542,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
542542
for k in protected_props:
543543
try:
544544
del validate_claim_res.access_token_payload_update[k]
545-
except ValueError:
545+
except KeyError:
546546
pass
547547
await self.merge_into_access_token_payload(
548548
validate_claim_res.access_token_payload_update, user_context
@@ -697,7 +697,7 @@ <h3>Methods</h3>
697697
for k in protected_props:
698698
try:
699699
del validate_claim_res.access_token_payload_update[k]
700-
except ValueError:
700+
except KeyError:
701701
pass
702702
await self.merge_into_access_token_payload(
703703
validate_claim_res.access_token_payload_update, user_context

0 commit comments

Comments
 (0)