From f3dd2c4c585487ed806094294c63307dbf0d903c Mon Sep 17 00:00:00 2001 From: Jason Dean Lessenich Date: Sun, 24 Mar 2024 21:21:22 +0100 Subject: [PATCH] Fixed `Restrr#createTransaction` (for now) --- lib/src/internal/restrr_impl.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/internal/restrr_impl.dart b/lib/src/internal/restrr_impl.dart index 226ff31..39f6f0c 100644 --- a/lib/src/internal/restrr_impl.dart +++ b/lib/src/internal/restrr_impl.dart @@ -215,7 +215,7 @@ class RestrrImpl implements Restrr { mapper: (json) => entityBuilder.buildTransaction(json), body: { 'amount': amount, - 'currency_id': currency, + 'currency': currency, 'executed_at': executedAt.toUtc().toIso8601String(), if (description != null) 'description': description, if (source != null) 'source': source,