summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/oauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nlopes/slack/oauth.go')
-rw-r--r--vendor/github.com/nlopes/slack/oauth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/oauth.go b/vendor/github.com/nlopes/slack/oauth.go
index db10aa1b..378af4a5 100644
--- a/vendor/github.com/nlopes/slack/oauth.go
+++ b/vendor/github.com/nlopes/slack/oauth.go
@@ -55,7 +55,7 @@ func GetOAuthResponseContext(ctx context.Context, clientID, clientSecret, code,
"redirect_uri": {redirectURI},
}
response := &OAuthResponse{}
- err = post(ctx, "oauth.access", values, response, debug)
+ err = postSlackMethod(ctx, customHTTPClient, "oauth.access", values, response, debug)
if err != nil {
return nil, err
}