This commit is contained in:
parent
fc910b43ba
commit
70dc1a9f11
1 changed files with 8 additions and 3 deletions
|
@ -6,9 +6,14 @@ module Tokens
|
|||
def refresh_tokens
|
||||
@@po_token = REDIS_DB.get("invidious:po_token")
|
||||
@@visitor_data = REDIS_DB.get("invidious:visitor_data")
|
||||
LOGGER.debug("RefreshTokens: Tokens are:")
|
||||
LOGGER.debug("RefreshTokens: po_token: #{@@po_token}")
|
||||
LOGGER.debug("RefreshTokens: visitor_data: #{@@visitor_data}")
|
||||
if !@@po_token.nil? && !@@visitor_data.nil?
|
||||
LOGGER.debug("RefreshTokens: Successfully updated tokens")
|
||||
else
|
||||
LOGGER.warn("RefreshTokens: Tokens are empty!")
|
||||
end
|
||||
LOGGER.trace("RefreshTokens: Tokens are:")
|
||||
LOGGER.trace("RefreshTokens: po_token: #{@@po_token}")
|
||||
LOGGER.trace("RefreshTokens: visitor_data: #{@@visitor_data}")
|
||||
end
|
||||
|
||||
def get_tokens
|
||||
|
|
Loading…
Reference in a new issue