Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
[epociask/issue-160-slack-fix] Fix variable deletion regression in sl…
Browse files Browse the repository at this point in the history
…ack.go
  • Loading branch information
Ethen Pociask committed Oct 14, 2023
1 parent d4e3253 commit bd3d2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type SlackPayload struct {

// newSlackPayload ... initializes a new slack payload
func newSlackPayload(text interface{}, channel string) *SlackPayload {
return &SlackPayload{Text: text}
return &SlackPayload{Text: text, Channel: channel}
}

// marshal ... marshals the slack payload
Expand Down

0 comments on commit bd3d2b8

Please sign in to comment.