From 7a597dc52f6d854bffc93258068443ea9ebc612e Mon Sep 17 00:00:00 2001 From: Jason Dean Lessenich Date: Sun, 24 Mar 2024 20:05:51 +0100 Subject: [PATCH] Fixed `Account#update` (for now) --- lib/src/internal/entities/account_impl.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/internal/entities/account_impl.dart b/lib/src/internal/entities/account_impl.dart index 24baf23..ccac821 100644 --- a/lib/src/internal/entities/account_impl.dart +++ b/lib/src/internal/entities/account_impl.dart @@ -52,7 +52,7 @@ class AccountImpl extends RestrrEntityImpl implements Account { if (description != null) 'description': description, if (iban != null) 'iban': iban, if (originalBalance != null) 'original_balance': originalBalance, - if (currency != null) 'currency': currency, + if (currency != null) 'currency_id': currency, }); if (response.hasError) { throw response.error!;