tokens: rename Tokens to SessionTokens

This commit is contained in:
Fijxu
2024-12-14 17:17:27 -03:00
parent 58c4d8c951
commit a01c8c63d3
3 changed files with 12 additions and 12 deletions

View File

@@ -214,9 +214,9 @@ if !CONFIG.external_videoplayback_proxy.empty?
end
if !CONFIG.tokens_server.empty?
Invidious::Jobs.register Invidious::Jobs::RefreshTokens.new
Invidious::Jobs.register Invidious::Jobs::RefreshSessionTokens.new
else
LOGGER.info("jobs: Disabling RefreshTokens job. Invidious will use the tokens that are on the configuration file")
LOGGER.info("jobs: Disabling RefreshSessionTokens job. Invidious will use the tokens that are on the configuration file")
end
Invidious::Jobs.start_all