update
This commit is contained in:
parent
b0cbcc3f81
commit
a89ebecec3
@ -103,7 +103,7 @@ async def list_account_details(
|
|||||||
detail_list = [
|
detail_list = [
|
||||||
{
|
{
|
||||||
"id": detail.id,
|
"id": detail.id,
|
||||||
"amount": float(detail.amount),
|
"amount": float(detail.amount) * (-1 if detail.type == AccountDetailType.EXPENSE else 1),
|
||||||
"type": detail.type,
|
"type": detail.type,
|
||||||
"description": detail.description,
|
"description": detail.description,
|
||||||
"transaction_id": detail.transaction_id,
|
"transaction_id": detail.transaction_id,
|
||||||
|
|||||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user