diff options
Diffstat (limited to 'api/user/password.py')
-rw-r--r-- | api/user/password.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/api/user/password.py b/api/user/password.py index 51ab6db..731f7e4 100644 --- a/api/user/password.py +++ b/api/user/password.py @@ -7,13 +7,13 @@ password = Blueprint('password', __name__) # this endpoint is unfinished @password.route('/password') def index(): - data = request.get_json() + data = request.get_json() - if not data["password"] or \ - not data["newPassword"]: - return "", 400 + if not data["password"] or \ + not data["newPassword"]: + return "", 400 - return {}, 200 + return {}, 200 dynamic_route = ["/user", password] |