mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Learned that I should not refer to env vars directly so I removed all references.
This commit is contained in:
@@ -156,7 +156,7 @@ class BunqPrerequisites implements PrerequisitesInterface
|
||||
*/
|
||||
private function getBunqEnvironment(): BunqEnumApiEnvironmentType
|
||||
{
|
||||
$env = env('BUNQ_USE_SANDBOX');
|
||||
$env = config('firefly.bunq_use_sandbox');
|
||||
if (null === $env) {
|
||||
return BunqEnumApiEnvironmentType::PRODUCTION();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user