mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-20 15:11:21 +00:00
9 lines
194 B
Python
9 lines
194 B
Python
from fastapi import APIRouter
|
|
from service.auth_service import Credential
|
|
|
|
router = APIRouter()
|
|
|
|
@router.post("/auth/login")
|
|
def login(auth: Credential):
|
|
|
|
return {"ok": 1, "token": "Basic {}"}
|