Pass amount as string

This commit is contained in:
jacob1123 committed 2022-02-25 21:46:20 +00:00
1 parent 480a95e096
commit 464931babe
2 files changed
+2 -2

No files matched your search

+1 -1
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"
})); }));
+1 -1
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"
})); }));