summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/apps.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/apps.go')
-rw-r--r--vendor/github.com/slack-go/slack/apps.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/slack-go/slack/apps.go b/vendor/github.com/slack-go/slack/apps.go
index d9749438..4f60da0a 100644
--- a/vendor/github.com/slack-go/slack/apps.go
+++ b/vendor/github.com/slack-go/slack/apps.go
@@ -45,14 +45,13 @@ func (api *Client) ListEventAuthorizationsContext(ctx context.Context, eventCont
func (api *Client) UninstallApp(clientID, clientSecret string) error {
values := url.Values{
- "token": {api.token},
"client_id": {clientID},
"client_secret": {clientSecret},
}
response := SlackResponse{}
- err := api.getMethod(context.Background(), "apps.uninstall", values, &response)
+ err := api.getMethod(context.Background(), "apps.uninstall", api.token, values, &response)
if err != nil {
return err
}