Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cemathey committed May 28, 2024
1 parent ab2e1a0 commit 9c13d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rconweb/api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _orjson_dump_pydantic(o):
elif isinstance(o, datetime.timedelta):
return o.total_seconds()
else:
raise ValueError(f"Cannot serialize {o}, {type(o)}to JSON")
raise ValueError(f"Cannot serialize {o}, {type(o)} to JSON")

def __init__(self, data, **kwargs):
data = orjson.dumps(
Expand Down

0 comments on commit 9c13d42

Please sign in to comment.