Skip to content

Firefly III: a personal finances manager

merge

Sander Dorigo7c38393cde0b
diff --cc .gitignore
index 769da2ab71,769da2ab71..53aa4f7b9f
--- a/.gitignore
+++ b/.gitignore
@@@ -14,7 -14,7 +14,16 @@@ public/buil
# ignore v1 build files
resources/assets/v1/node_modules
resources/assets/v1/build
++public/v1/js/app.js*
++public/v1/js/app_vue.js*
++public/v1/js/create*
++public/v1/js/edit*
++public/v1/js/profile*
++public/v1/js/administrations
++public/v1/js/exchange-rates
++public/v1/js/webhooks
# ignore v2 build files
resources/assets/v2/node_modules
resources/assets/v2/build
++public/v2/i18n
diff --cc app/Http/Controllers/PiggyBank/IndexController.php
index 80d0b86e68,0275b70f15..43c2d0467a
--- a/app/Http/Controllers/PiggyBank/IndexController.php
+++ b/app/Http/Controllers/PiggyBank/IndexController.php
@@@ -146,11 -146,8 +146,10 @@@ class IndexController extends Controlle
$accountTransformer->setParameters($parameters);
// enrich each account.
- $enrichment = new AccountEnrichment();
-
+ $enrichment = new AccountEnrichment();
+ $enrichment->setUser(auth()->user());
+ $enrichment->setConvertToNative($this->convertToNative);
+ $enrichment->setNative($this->defaultCurrency);
-
$return = [];
/** @var PiggyBank $piggy */