mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
Added UserAgent to RestClient.
This commit is contained in:
parent
e9f39493f4
commit
9a649cf58e
14 changed files with 48 additions and 15 deletions
|
@ -25,7 +25,7 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
|||
|
||||
public void SendNotification(string title, string message, string apiKey, string deviceId)
|
||||
{
|
||||
var client = new RestClient(URL);
|
||||
var client = RestClientFactory.BuildClient(URL);
|
||||
var request = BuildRequest(deviceId);
|
||||
|
||||
request.AddParameter("type", "note");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue