API: Fixing Update User Method GET->POST

This commit is contained in:
Sagi Dayan 2015-06-16 18:16:01 +03:00
parent ad528f910f
commit d7f3d8d465

View file

@ -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):
"""