Skip to content

Commit

Permalink
Return the default.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxking committed Mar 7, 2022
1 parent 874c540 commit c779b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falcon/media/json.py
Expand Up @@ -110,7 +110,7 @@ class DatetimeEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, datetime):
return obj.isoformat()
super().default(obj)
return super().default(obj)
app = falcon.App()
Expand Down

0 comments on commit c779b05

Please sign in to comment.