mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-28 23:06:43 -04:00
Use modern HttpClient
(cherry picked from commit 402f8b296f17bf161824ec5ff40d67d036d00d94)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Net;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using NzbDrone.Common.Http;
|
||||
using NzbDrone.Common.Serializer;
|
||||
|
||||
@@ -22,7 +23,7 @@ namespace NzbDrone.Core.Notifications.SendGrid
|
||||
{
|
||||
try
|
||||
{
|
||||
var request = BuildRequest(settings, "mail/send", HttpMethod.POST);
|
||||
var request = BuildRequest(settings, "mail/send", HttpMethod.Post);
|
||||
|
||||
var payload = new SendGridPayload
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user