diff --git a/backend/app/core/dependencies.py b/backend/app/core/dependencies.py index a06208dd..59f168a9 100644 --- a/backend/app/core/dependencies.py +++ b/backend/app/core/dependencies.py @@ -47,7 +47,7 @@ async def get_current_user(authorization: str = Header(None)) -> UUID: try: supabase = get_supabase_client() # Verify the token and get user - user_response = supabase.auth.get_user(token) + user_response = await supabase.auth.get_user(token) if not user_response or not user_response.user: raise HTTPException(