9 lines
135 B
Python
9 lines
135 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get('/auth/')
|
|
async def get_user():
|
|
return {'user': 'authenticated'}
|