Skip to content

Commit

Permalink
test: Small bug fix to fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KShivendu committed Aug 25, 2023
1 parent 54612a0 commit 3bf5dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supertokens_python/querier.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ async def __send_request_helper(

res: Dict[str, Any] = {"_headers": dict(response.headers)}

if response.headers.get("content-type").startswith("text"):
if response.headers.get("content-type", "").startswith("text"):
res["_text"] = response.text

try:
Expand Down

0 comments on commit 3bf5dd6

Please sign in to comment.