Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjbowers committed Jun 9, 2017
1 parent cc7097a commit 6bb8223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_entity(response):
Creates and returns an entity.
"""

user_email = request.environ['jwt_user_email'] or '[email protected]'
user_email = request.environ.get('jwt_user_email', None) or '[email protected]'

e = models.Entity.create(name=response['request']['name'],user_email=user_email)
en = models.EntityNote.create(entity=e.id,user_email=user_email,note="Created by script.")
Expand Down

0 comments on commit 6bb8223

Please sign in to comment.