diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr index 8fef8472..09f0936f 100644 --- a/src/invidious/yt_backend/youtube_api.cr +++ b/src/invidious/yt_backend/youtube_api.cr @@ -684,8 +684,8 @@ module YoutubeAPI data : Hash ) : Hash(String, JSON::Any) headers = HTTP::Headers{ - "Content-Type" => "application/json; charset=UTF-8", - "Authorization" => "Bearer " + CONFIG.invidious_companion_key, + "Content-Type" => "application/json; charset=UTF-8", + "Authorization" => "Bearer " + CONFIG.invidious_companion_key, } # Logging