Migration to web‐api v7 - Unexpected token
argument in apps.uninstall
method
#1871
Closed
1 of 7 tasks
Labels
area:typescript
issues that specifically impact using the package from typescript projects
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
pkg:web-api
applies to `@slack/web-api`
semver:patch
Milestone
We are transitioning our application using the v6 of the
@slack/web-api
package to the v7. One breaking change is detected by the compiler, related to theapps.uninstall
method.Previously, our wrapper defined the uninstall methods like this:
Now, we get an error on the
token
parameter of that method, which suggests that thetoken
field is not expected by theapps.uninstall
method:We've checked the doc for apps.uninstall, and
token
is still listed as a required argument.Is the documentation outdated? Or are we misusing the
apps.uninstall
method?Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
The Slack SDK version
7.3.2
Node.js runtime version
v20.15.1
OS info
ProductName: macOS
ProductVersion: 14.5
BuildVersion: 23F79
Darwin Kernel Version 23.5.0: Wed May 1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030
Steps to reproduce:
web-api
packageslackClient.apps.uninstall
with atoken
argumentExpected result:
token
argument;Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: