Pass only category Id as categories are not to be created on the fly
This commit is contained in:
@ -16,7 +16,7 @@ const payload = computed(() => JSON.stringify({
|
||||
Name: Transaction.Payee,
|
||||
ID: Transaction.PayeeID,
|
||||
},
|
||||
category: Transaction.CategoryID,
|
||||
categoryId: Transaction.CategoryID,
|
||||
memo: Transaction.Memo,
|
||||
amount: Transaction.Amount,
|
||||
state: "Uncleared"
|
||||
|
@ -31,10 +31,7 @@ const payload = computed(() => JSON.stringify({
|
||||
Name: TX.value.Payee,
|
||||
ID: TX.value.PayeeID,
|
||||
},
|
||||
category: {
|
||||
Name: TX.value.Category,
|
||||
ID: TX.value.CategoryID,
|
||||
},
|
||||
categoryId: TX.value.CategoryID,
|
||||
memo: TX.value.Memo,
|
||||
amount: TX.value.Amount,
|
||||
state: "Uncleared"
|
||||
|
Reference in New Issue
Block a user