New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed update_entity to update_token #117
Changes from 2 commits
a64c60f
637cb0e
2ecb52b
6e1e6b3
1a9aec3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ def register(): | |
def login(): | ||
# I'm authorized & updating my token! | ||
return jsonify({ | ||
"token": jwt_routes.update_entity(entity_id=1) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you can install
I will update the Pipfile to add Sphinx as a dev dep in my Pr either today or tomorrow, thank you. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay I'll try and give it a go! |
||
"token": jwt_routes.update_token(entity_id=1) | ||
}) | ||
|
||
Create a new entity & return a new token:: | ||
|
@@ -142,7 +142,7 @@ def login(): | |
|
||
If you are handling a request with a token in the headers you can call:: | ||
|
||
jwt_routes.update_entity(entity_id=user_data.id) | ||
jwt_routes.update_token(entity_id=user_data.id) | ||
|
||
If you are handling a request without a token in the headers you can call:: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove spaces after list items