Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kookxiang committed Jun 25, 2024
1 parent 6054389 commit 659813c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emby.Plugin.Bangumi/BangumiApi.Emby.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private async Task<string> SendRequest(string method, HttpRequestOptions options
{
var options = new HttpRequestOptions { Url = url };
if (accessToken != null)
options.RequestHeaders.Add("c", $"Bearer {accessToken}");
options.RequestHeaders.Add("Authorization", $"Bearer {accessToken}");
var jsonString = await SendRequest("GET", options);
return JsonSerializer.Deserialize<T>(jsonString, Options);
}
Expand Down

0 comments on commit 659813c

Please sign in to comment.