Skip to content

Commit

Permalink
Merge pull request #957 from thorntonmc/patch-1
Browse files Browse the repository at this point in the history
replace deprecated method
  • Loading branch information
kanata2 committed Sep 7, 2021
2 parents a3b80f3 + 42a7ba8 commit 09bb1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -39,7 +39,7 @@ func main() {
// If you set debugging, it will log all requests to the console
// Useful when encountering issues
// slack.New("YOUR_TOKEN_HERE", slack.OptionDebug(true))
groups, err := api.GetGroups(false)
groups, err := api.GetUserGroups(false)
if err != nil {
fmt.Printf("%s\n", err)
return
Expand Down

0 comments on commit 09bb1e4

Please sign in to comment.