Skip to content

Commit

Permalink
Add token to return fields
Browse files Browse the repository at this point in the history
  • Loading branch information
erssebaggala committed Jun 11, 2018
1 parent 3b74e41 commit b6d5ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btsapi/modules/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ class UserSchema(ma.ModelSchema):

class Meta:
model = User
fields = ('pk','username','password','first_name','last_name','other_names','job_title','phone_number','photo')
fields = ('pk','username','password','first_name','last_name','other_names','job_title','phone_number','photo', 'token')

0 comments on commit b6d5ccb

Please sign in to comment.