Skip to content

Commit c256703

Browse files
committed
Merge branch 'release/v1.0.2'
2 parents 0945837 + b278002 commit c256703

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

app/Support/Internal/CollectsAccounts.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
declare(strict_types=1);
2626

27-
2827
namespace App\Support\Internal;
2928

3029
use App\Exceptions\AgreementExpiredException;
@@ -54,9 +53,12 @@ trait CollectsAccounts
5453
*/
5554
protected function getFireflyIIIAccounts(): array
5655
{
57-
$url = SecretManager::getBaseUrl();
58-
$token = SecretManager::getAccessToken();
59-
$accounts = [];
56+
$url = SecretManager::getBaseUrl();
57+
$token = SecretManager::getAccessToken();
58+
$accounts = [
59+
Constants::ASSET_ACCOUNTS => [],
60+
Constants::LIABILITIES => [],
61+
];
6062

6163
$request = new GetAccountsRequest($url, $token);
6264
$request->setType(GetAccountsRequest::ASSET);

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 1.0.2 - 2022-01-27
6+
7+
### Fixed
8+
- Missing array key breaks Nordigen and Spectre imports.
9+
510
## 1.0.1 - 2022-01-26
611

712
### Fixed

config/importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
declare(strict_types=1);
2424

2525
return [
26-
'version' => '1.0.1',
26+
'version' => '1.0.2',
2727
'flows' => ['nordigen', 'spectre', 'file'],
2828
'flow_titles' => [
2929
'file' => 'File',

0 commit comments

Comments
 (0)