Browse Source

remove debug

Ivan Galakhov 4 years ago
parent
commit
777dd0bc39
1 changed files with 1 additions and 2 deletions
  1. 1 2
      internal/oauth/config.go

+ 1 - 2
internal/oauth/config.go

@@ -137,8 +137,7 @@ func GetAccessToken(
 		AccessToken:  string(prevToken.AccessToken),
 		RefreshToken: string(prevToken.RefreshToken),
 		TokenType:    "Bearer",
-		//Expiry:       time.Now().Add(time.Duration(-10) * time.Minute),
-		Expiry: prevToken.Expiry,
+		Expiry:       prevToken.Expiry,
 	})
 
 	token, err := tokSource.Token()