From 6bd6b1eb95fb87cf8281b93bc91f4894c0411f35 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 24 Feb 2021 06:01:43 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/4426 --- app/Transformers/AccountTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Transformers/AccountTransformer.php b/app/Transformers/AccountTransformer.php index c6c2d61bf2..9a54374657 100644 --- a/app/Transformers/AccountTransformer.php +++ b/app/Transformers/AccountTransformer.php @@ -98,7 +98,7 @@ class AccountTransformer extends AbstractTransformer 'active' => $account->active, 'order' => $account->order, 'name' => $account->name, - 'type' => $accountType, + 'type' => strtolower($accountType), 'account_role' => $accountRole, 'currency_id' => $currencyId, 'currency_code' => $currencyCode,