diff --git a/src/invidious/helpers/oauth.cr b/src/invidious/helpers/oauth.cr index 4dcc8963..f5a84557 100644 --- a/src/invidious/helpers/oauth.cr +++ b/src/invidious/helpers/oauth.cr @@ -31,7 +31,7 @@ def oauth_info(idx, token) if idx > CONFIG.oauth.size raise Exception.new("Invalid OAuth Endpoint Index: " + idx.to_s) end - + if oauth = CONFIG.oauth[idx] oauth_host = oauth.host oauth_info_uri = oauth.info_uri