Pass amount as string

This commit is contained in:
Jan Bader 2022-02-25 21:46:20 +00:00
parent 480a95e096
commit 464931babe
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ const payload = computed(() => JSON.stringify({
}, },
categoryId: Transaction.CategoryID, categoryId: Transaction.CategoryID,
memo: Transaction.Memo, memo: Transaction.Memo,
amount: Transaction.Amount, amount: Transaction.Amount.toString(),
state: "Uncleared" state: "Uncleared"
})); }));

View File

@ -33,7 +33,7 @@ const payload = computed(() => JSON.stringify({
}, },
categoryId: TX.value.CategoryID, categoryId: TX.value.CategoryID,
memo: TX.value.Memo, memo: TX.value.Memo,
amount: TX.value.Amount, amount: TX.value.Amount.toString(),
state: "Uncleared" state: "Uncleared"
})); }));