This commit is contained in:
aaron 2025-03-12 23:08:44 +08:00
parent b0cbcc3f81
commit a89ebecec3
2 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ async def list_account_details(
detail_list = [
{
"id": detail.id,
"amount": float(detail.amount),
"amount": float(detail.amount) * (-1 if detail.type == AccountDetailType.EXPENSE else 1),
"type": detail.type,
"description": detail.description,
"transaction_id": detail.transaction_id,

Binary file not shown.