Added UserAgent to RestClient.

This commit is contained in:
Taloth Saldono 2014-07-20 13:36:31 +02:00 committed by Mark McDowall
parent e9f39493f4
commit 9a649cf58e
14 changed files with 48 additions and 15 deletions

View file

@ -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");