mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Small improvements to bunq import.
This commit is contained in:
@@ -40,6 +40,15 @@ abstract class BunqRequest
|
||||
'x-bunq-client-request-id' => 'X-Bunq-Client-Request-Id',
|
||||
];
|
||||
|
||||
/**
|
||||
* @return ServerPublicKey
|
||||
*/
|
||||
public function getServerPublicKey(): ServerPublicKey
|
||||
{
|
||||
return $this->serverPublicKey;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* BunqRequest constructor.
|
||||
*/
|
||||
|
@@ -68,7 +68,6 @@ class BunqPrerequisites implements PrerequisitesInterface
|
||||
{
|
||||
$apiKey = Preferences::getForUser($this->user, 'bunq_api_key', false);
|
||||
|
||||
|
||||
return ($apiKey->data === false || is_null($apiKey->data));
|
||||
}
|
||||
|
||||
|
6
resources/lang/en_US/bank.php
Normal file
6
resources/lang/en_US/bank.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'bunq_prerequisites_title' => 'Prerequisites for an import from bunq',
|
||||
'bunq_prerequisites_text' => 'In order to import from bunq, you need to obtain an API key. You can do this through the app.',
|
||||
];
|
@@ -69,6 +69,7 @@ return [
|
||||
'native_amount' => 'Native amount',
|
||||
'new_email_address' => 'New email address',
|
||||
'verification' => 'Verification',
|
||||
'api_key' => 'API key',
|
||||
|
||||
'source_account_asset' => 'Source account (asset account)',
|
||||
'destination_account_expense' => 'Destination account (expense account)',
|
||||
|
Reference in New Issue
Block a user