From 0b525f72ec5bbe4eb31e2b6e1c6efdfb0a228f13 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 31 Jan 2024 23:08:41 +0100 Subject: [PATCH] Fix: Submit account ID when creating transaction Signed-off-by: Knut Ahlers --- frontend/components/txEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/txEditor.vue b/frontend/components/txEditor.vue index 9cedb8b..963d51d 100644 --- a/frontend/components/txEditor.vue +++ b/frontend/components/txEditor.vue @@ -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), })