Skip to content

Commit

Permalink
Update to latest changes in external client
Browse files Browse the repository at this point in the history
  • Loading branch information
rneatherway committed Jan 16, 2024
1 parent 1a78905 commit cff03db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.21.4

require (
github.com/cli/go-gh v1.2.1
github.com/rneatherway/slackclient v0.0.0-20231220165043-4637987fb6bf
github.com/rneatherway/slackclient v0.0.0-20240116185845-7be452df2b1c
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
nhooyr.io/websocket v1.8.7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qq
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rneatherway/slackclient v0.0.0-20231220165043-4637987fb6bf h1:aidSKow6J6M+HBMqCUq7rjy47n6VGN+5jJovDtlmPLg=
github.com/rneatherway/slackclient v0.0.0-20231220165043-4637987fb6bf/go.mod h1:4qjWFXil77adHbdMVR+h776rsg92SFBxr1fjw7DfIDs=
github.com/rneatherway/slackclient v0.0.0-20240116185845-7be452df2b1c h1:omFPQNDqUdm6HphReID9BflVU7FH2Mpus4PN0Vh92dw=
github.com/rneatherway/slackclient v0.0.0-20240116185845-7be452df2b1c/go.mod h1:4qjWFXil77adHbdMVR+h776rsg92SFBxr1fjw7DfIDs=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
Expand Down
3 changes: 2 additions & 1 deletion internal/slackclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ func New(team string, log *log.Logger) (*SlackClient, error) {
}
cachePath := path.Join(dataHome, "gh-slack")

client, err := slack.NewClient(team)
client := slack.NewClient(team)
err := client.WithCookieAuth()
if err != nil {
return nil, err
}
Expand Down

0 comments on commit cff03db

Please sign in to comment.