Исправления
This commit is contained in:
@ -46,6 +46,5 @@ async def get_debts(IDPersonalAccount: int, GetType: bool, db: Session = Depends
|
||||
|
||||
|
||||
@router.post("/get_financial_account", response_model=List[schemas.ReportTOFinancialAccount])
|
||||
async def get_financial_account(request: schemas.PersonalAccountInit, db: Session = Depends(get_db)):
|
||||
data = crud.PersonalAccountViewSet.get_financial_account(db, request)
|
||||
return schemas.ReportTOFinancialAccount(**data)
|
||||
async def get_financial_account(request: schemas.ReportTOFinancialAccountInit, db: Session = Depends(get_db)):
|
||||
return crud.PersonalAccountViewSet.get_financial_account(db, request)
|
||||
|
Reference in New Issue
Block a user