diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-09-08 09:11:26 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-09-08 09:11:26 -0500 |
| commit | 9005b095189c2d0ab2635671a22a52d4fec9f261 (patch) | |
| tree | bcfeaa471ae53835583d18d86d92fdfad46ece51 /src | |
| parent | a317d4db63f76c9504298546504a2b95d0f998d7 (diff) | |
| download | slskd-9005b095189c2d0ab2635671a22a52d4fec9f261.tar.gz | |
fix user agent
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Integrations/Pushbullet/PushbulletService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Pushbullet/PushbulletService.cs b/src/slskd/Integrations/Pushbullet/PushbulletService.cs index 1a224321..1ec092eb 100644 --- a/src/slskd/Integrations/Pushbullet/PushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/PushbulletService.cs @@ -140,7 +140,7 @@ namespace slskd.Integrations.Pushbullet using var http = HttpClientFactory.CreateClient(); - http.DefaultRequestHeaders.UserAgent.TryParseAdd(Program.AppName + Program.Version); + http.DefaultRequestHeaders.UserAgent.TryParseAdd($"{Program.AppName} v{Program.Version}"); Log.LogDebug("Sending Pushbullet notification {Title} {Body}", title, body); |
