API: Fixing Update User Method GET->POST
This commit is contained in:
parent
ad528f910f
commit
d7f3d8d465
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def getUserByToken(token):
|
|||
return bad_request("No User Found")
|
||||
|
||||
|
||||
@user_routes.route('/api/users/updateUser/<string:token>', methods=["GET"])
|
||||
@user_routes.route('/api/users/updateUser/<string:token>', methods=["POST"])
|
||||
@auto.doc()
|
||||
def updateUser(token):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue