Skip to content

fix(users): correct JSON tag typo in UserProfile.Skype field#1524

Merged
nlopes merged 1 commit into
slack-go:masterfrom
derodero24:fix/user-profile-skype-json-tag
Feb 9, 2026
Merged

fix(users): correct JSON tag typo in UserProfile.Skype field#1524
nlopes merged 1 commit into
slack-go:masterfrom
derodero24:fix/user-profile-skype-json-tag

Conversation

@derodero24

Copy link
Copy Markdown
Contributor

Summary

The JSON tag for the Skype field in UserProfile (users.go) was "skyp" instead of "skype", preventing the field from being properly populated when unmarshalling Slack API responses.

Fixes #1523

The JSON tag for the Skype field in UserProfile was `skyp` instead
of `skype`, which prevented the field from being properly populated
when unmarshalling Slack API responses.

The correct tag `skype` is already used in slackevents/inner_events.go
and matches the Slack API documentation.

Fixes slack-go#1523
@nlopes nlopes merged commit 7fe95a9 into slack-go:master Feb 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: incorrect JSON tag for UserProfile.Skype field

2 participants