1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Convert method to static that doesn't use instance data

This commit is contained in:
Qstick 2023-02-18 13:59:08 -06:00
parent 412a36226f
commit a42f97229a

View File

@ -238,7 +238,7 @@ protected virtual void AddRequestHeaders(HttpRequestMessage webRequest, HttpHead
}
}
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)