mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-30 04:05:41 +01:00
Convert method to static that doesn't use instance data
(cherry picked from commit a42f97229acb713719c616851db572100f319ad7)
This commit is contained in:
parent
2a980e64fc
commit
9259ad7d49
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,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 a new issue