kaas is toch zo lekker
This commit is contained in:
+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