Skip to content

Commit

Permalink
replace deprecated method
Browse files Browse the repository at this point in the history
I believe this GetGroups was deleted as a part of this commit:
9152ed0
  • Loading branch information
thorntonmc committed Jul 19, 2021
1 parent f5878c7 commit 42a7ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 42a7ba8

Please sign in to comment.