Skip to content

Commit

Permalink
python: fixed google example, displayName changed to name
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Jan 9, 2015
1 parent c5e7b6d commit 2c483cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def google():
token = create_token(user)
return jsonify(token=token)
u = User(google=profile['sub'],
display_name=profile['displayName'])
display_name=profile['name'])
db.session.add(u)
db.session.commit()
token = create_token(u)
Expand Down

0 comments on commit 2c483cd

Please sign in to comment.