Spaces:
Runtime error
Runtime error
from fastapi import APIRouter, Depends | |
from app.dependencies import get_current_user | |
router = APIRouter(prefix="/me", tags=["Me"]) | |
def getProfile(current_user=Depends(get_current_user)): | |
return current_user | |