Initial commit
This commit is contained in:
9
backend/app/routers/accounts.py
Normal file
9
backend/app/routers/accounts.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter
|
||||
from ..clients.firefly_client import firefly_client
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
@router.get("")
|
||||
async def list_accounts():
|
||||
accounts = await firefly_client.get_accounts()
|
||||
return {"data": accounts}
|
||||
Reference in New Issue
Block a user