Also add channel.

This commit is contained in:
James Cole 2019-11-16 07:37:42 +01:00
parent fcd6b89a43
commit e54dc4c1b4
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -48,7 +48,7 @@ class UpdateRequest implements UpdateRequestInterface
$client = new Client();
$options = [
'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);