Convert method to static that doesn't use instance data

(cherry picked from commit a42f97229acb713719c616851db572100f319ad7)
This commit is contained in:
Qstick 2023-02-18 13:59:08 -06:00 committed by Bogdan
parent 48ec5bbaa1
commit d946ef4a9e

View file

@ -245,7 +245,7 @@ namespace NzbDrone.Common.Http.Dispatchers
}
}
private void AddContentHeader(HttpRequestMessage request, string header, string value)
private static void AddContentHeader(HttpRequestMessage request, string header, string value)
{
var headers = request.Content?.Headers;
if (headers == null)