Also add channel.

This commit is contained in:
James Cole
2019-11-16 07:37:42 +01:00
parent fcd6b89a43
commit e54dc4c1b4

View File

@@ -48,7 +48,7 @@ class UpdateRequest implements UpdateRequestInterface
$client = new Client(); $client = new Client();
$options = [ $options = [
'headers' => [ 'headers' => [
'User-Agent' => sprintf('FireflyIII/%s', config('firefly.version')), 'User-Agent' => sprintf('FireflyIII/%s/%s', config('firefly.version'), $channel),
], ],
]; ];
$res = $client->request('GET', $uri, $options); $res = $client->request('GET', $uri, $options);