aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-08 09:11:26 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-09-08 09:11:26 -0500
commit9005b095189c2d0ab2635671a22a52d4fec9f261 (patch)
treebcfeaa471ae53835583d18d86d92fdfad46ece51 /src
parenta317d4db63f76c9504298546504a2b95d0f998d7 (diff)
downloadslskd-9005b095189c2d0ab2635671a22a52d4fec9f261.tar.gz
fix user agent
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Integrations/Pushbullet/PushbulletService.cs2
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);