slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.6k stars 1.11k forks source link

added method tooling.tokens.rotate #1204

Closed dhalturin closed 5 months ago

dhalturin commented 1 year ago

Added sending a request for the method: https://api.slack.com/methods/tooling.tokens.rotate

Exchanging a refresh token for a new app configuration token.

dhalturin commented 1 year ago

@kanata2, hello! could you please check this PR?

parsley42 commented 5 months ago

Ah, I see this introduced a conflict with another merged PR - automated testing FTW I guess. Feel free to rework this to gel with the current tree.

dhalturin commented 5 months ago

@parsley42, branch has been synced with master

dhalturin commented 5 months ago

lol, the method was added while the PR was open for half a year

parsley42 commented 5 months ago

@dhalturin Hah - yeah, I'm really just filling in as maintainer until somebody better steps up. I figure the work I'm doing is better than no merges at all. In any case, it looks like the tests are still failing?:

panic: http: multiple registrations for /tooling.tokens.rotate [recovered]
    panic: http: multiple registrations for /tooling.tokens.rotate
dhalturin commented 5 months ago

@parsley42, I think it doesn't matter now _)