ahopkins / sanic-jwt

Authentication, JWT, and permission scoping for Sanic
http://sanic-jwt.readthedocs.io
MIT License
242 stars 52 forks source link

Updated example #217

Closed mherkhachatryan closed 3 years ago

mherkhachatryan commented 3 years ago

The class has the user_id attribute, not id. The class should have the to_dict method to unpack values.