Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
realazizk committed Jul 5, 2017
1 parent 630a974 commit 00abe1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conduit/user/serializers.py
Expand Up @@ -10,6 +10,8 @@ class UserSchema(Schema):
bio = fields.Str()
image = fields.Url()
token = fields.Str(dump_only=True)
createdAt = fields.DateTime(attribute='created_at')
updatedAt = fields.DateTime(attribute='created_at')
# ugly hack.
user = fields.Nested('self', exclude=('user',), default=True, load_only=True)

Expand Down

0 comments on commit 00abe1d

Please sign in to comment.