hyperlog-core / hyperlog-backend

Backend for hyperlog
0 stars 0 forks source link

Fix #79: Return user on login mutation #80

Closed nikochiko closed 4 years ago

nikochiko commented 4 years ago

Fixes #79

Changes:

The previous login mutation was directly from the graphql_jwt library as is. I've used mostly the same code as that one (graphql_jwt.JSONWebTokenMutation) and added the user. It wasn't mentioned in the official docs but it's probably the way it's supposed to be used, so shouldn't break anytime soon.