Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce committed Aug 21, 2024
1 parent 07575d9 commit f96211c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/service/google/google.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func (g *googleService) GetLoginURL() string {
// GetAccessToken return google access token
func (g *googleService) GetAccessToken(code string, redirectURL string) (string, error) {
g.config.RedirectURL = redirectURL
fmt.Println("GetAccessToken: ", g.config.ClientID)
token, err := g.config.Exchange(context.Background(), code)
if err != nil {
return "", fmt.Errorf("failed to exchange code for token. err: %v, client: %v", err, g.config.ClientID)
Expand Down

0 comments on commit f96211c

Please sign in to comment.