kaas is toch zo lekker
This commit is contained in:
1 parent
792ce850b6
commit
af1c147fd0
2 files changed
+9
-10
No files matched your search
+2
-1
@@ -102,8 +102,9 @@ def get_current_user(
|
||||
algorithms=[ALGORITHM]
|
||||
)
|
||||
|
||||
return payload["user_id"]
|
||||
print("DEBUG JWT payload:", payload)
|
||||
|
||||
return payload["user_id"]
|
||||
|
||||
def get_user(user_id):
|
||||
return fetch_one(
|
||||
|
||||
Reference in new issue
Block a user