mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Finish up bunq import routine.
This commit is contained in:
@@ -48,14 +48,9 @@ class DeviceServerRequest extends BunqRequest
|
||||
Log::debug('Now in DeviceServerRequest::call()');
|
||||
$uri = 'device-server';
|
||||
$data = ['description' => $this->description, 'secret' => $this->secret, 'permitted_ips' => $this->permittedIps];
|
||||
|
||||
Log::debug('Data we send along: ', $data);
|
||||
|
||||
$headers = $this->getDefaultHeaders();
|
||||
$headers['X-Bunq-Client-Authentication'] = $this->installationToken->getToken();
|
||||
|
||||
Log::debug('Headers we send along: ', $headers);
|
||||
|
||||
$response = $this->sendSignedBunqPost($uri, $data, $headers);
|
||||
$deviceServerId = new DeviceServerId;
|
||||
$deviceServerId->setId(intval($response['Response'][0]['Id']['id']));
|
||||
|
Reference in New Issue
Block a user