File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
html/supertokens_python/recipe/session Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments