Skip to content

Commit

Permalink
Merge pull request #19 from BoltApp/ellenwei/nit-fix
Browse files Browse the repository at this point in the history
Fix backslash for oauth
  • Loading branch information
ellenwei authored Feb 2, 2022
2 parents ce0f42b + 795432d commit e4c53fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type OAuthCredentials struct {

func (g *OauthGateway) CreateTokenFromCode(ctx context.Context, oAuthCredentialRequest *OAuthCredentialRequest) (*OAuthCredentials, error) {
oAuthCredentialRequest.GrantType = "authorization_code"
resp, err := g.executeVersion(ctx, "POST", "/oauth/access_tokens", oAuthCredentialRequest, apiVersion4)
resp, err := g.executeVersion(ctx, "POST", "oauth/access_tokens", oAuthCredentialRequest, apiVersion4)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e4c53fa

Please sign in to comment.