views.update method doesn't accept only external_id #1002
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:types
applies to `@slack/types`
pkg:web-api
applies to `@slack/web-api`
Description
The views.update method does not accept object with only external_id, as the documentation says it should accept but the typings don't allow it without view_id code reference.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Packages:
Select all that apply:
@slack/web-api
@slack/events-api
@slack/interactive-messages
@slack/rtm-api
@slack/webhooks
Reproducible in:
package version: 2.0.0
node version: 12.13.1
OS version(s): MacOS 10.13.6
Steps to reproduce:
Expected result:
Should allow ViewsUpdateArguments with only external_id or view_id
Actual result:
Currently view_id is required argument which should not be the case
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
The text was updated successfully, but these errors were encountered: