Skip to content

Commit

Permalink
use config token
Browse files Browse the repository at this point in the history
  • Loading branch information
stijndcl committed Aug 4, 2023
1 parent 14d4607 commit a33e5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (api *Client) RotateTokensContext(ctx context.Context, refreshToken string)
}

response := &TokenResponse{}
err := api.getMethod(ctx, "tooling.tokens.rotate", "", values, response)
err := api.getMethod(ctx, "tooling.tokens.rotate", api.configToken, values, response)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a33e5ae

Please sign in to comment.