"텔레그램_연동_기능_구현_및_설정_스키마_수정"
This commit is contained in:
@@ -31,7 +31,7 @@ class HoldingSchema(BaseModel):
|
||||
class Config:
|
||||
from_attributes = True
|
||||
|
||||
@router.get("/summary", response_model=AccountStatusSchema)
|
||||
@router.get("/balance", response_model=AccountStatusSchema)
|
||||
async def get_account_summary(db: AsyncSession = Depends(get_db)):
|
||||
stmt = select(AccountStatus).where(AccountStatus.id == 1)
|
||||
result = await db.execute(stmt)
|
||||
|
||||
Reference in New Issue
Block a user