add update profile logic

This commit is contained in:
mungai-njoroge
2024-04-25 20:05:02 +03:00
parent 04957dd5a9
commit 1eeab2d49e
4 changed files with 106 additions and 31 deletions
+1 -3
View File
@@ -53,7 +53,6 @@ def verify_auth():
"""
Verifies the JWT token before each request.
"""
print(request.path)
if request.path == "/" or any(
request.path.endswith(ext) for ext in blacklist_extensions
):
@@ -66,8 +65,7 @@ def verify_auth():
)
return
data = verify_jwt_in_request()
print(data)
verify_jwt_in_request()
@app.route("/<path:path>")