From 659813cc6dfc7a93e1097233c9498991287afdbb Mon Sep 17 00:00:00 2001 From: kookxiang Date: Tue, 25 Jun 2024 23:37:00 +0800 Subject: [PATCH] fix typo --- Emby.Plugin.Bangumi/BangumiApi.Emby.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Plugin.Bangumi/BangumiApi.Emby.cs b/Emby.Plugin.Bangumi/BangumiApi.Emby.cs index c76bbd8..b63514a 100644 --- a/Emby.Plugin.Bangumi/BangumiApi.Emby.cs +++ b/Emby.Plugin.Bangumi/BangumiApi.Emby.cs @@ -54,7 +54,7 @@ private async Task 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(jsonString, Options); }