Fix: Submit account ID when creating transaction

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-01-31 23:08:41 +01:00
parent 3149595df6
commit 0b525f72ec
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -103,7 +103,7 @@ export default {
saveTransaction() {
const body = JSON.stringify({
...this.form,
account: this.accountId,
account: this.account.id,
category: this.form.category || null,
time: new Date(this.form.date),
})