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:
parent
412a36226f
commit
a42f97229a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user