Alexander Belanger 5 年之前
父節點
當前提交
47f03d2a8d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/oauth/config.go

+ 1 - 1
internal/oauth/config.go

@@ -168,7 +168,7 @@ func GetAccessToken(
 		AccessToken:  string(prevToken.AccessToken),
 		RefreshToken: string(prevToken.RefreshToken),
 		TokenType:    "Bearer",
-		Expiry:       prevToken.Expiry,
+		Expiry:       expiry,
 	})
 
 	token, err := tokSource.Token()