forum-app/backend/routers/auth.py

9 lines
135 B
Python
Raw Normal View History

2024-04-06 17:58:20 +00:00
from fastapi import APIRouter
router = APIRouter()
@router.get('/auth/')
async def get_user():
return {'user': 'authenticated'}