The Field in the 'users.profile.get' response does not seem to have a 'label' type. #1452
Closed
1 of 6 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`
Milestone
(Describe your issue and goal here)
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
Reproducible in:
The Slack SDK version
6.7.0
Python runtime version
v17.0.0
OS info
macOS Monterey
Version 12.3
MacBook Pro (14-inch, 2021)
Chip Apple M1 Pro
Memory 32 GB
Startup Disk Macintosh HD
Serial Number R147VN4OXO
Steps to reproduce:
Question
The Field in the 'users.profile.get' response does not seem to have a 'label' type.
There is a Field type in profile.fields in the 'users.profile.get' response, which is currently as follows in src
But actually, when you enable the option
include_labels: true
as shown below, you will get the following response.I read the source below.
node-slack-sdk/packages/web-api/src/response/UsersProfileGetResponse.ts
Lines 52 to 55 in 8b6d380
If it is listed elsewhere, we would like to know.
Expected result:
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: