Skip to content

Commit

Permalink
fix: mattermost alert channel selection
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Aug 23, 2024
1 parent 000fd5c commit 14c9791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boltzr/src/notifications/mattermost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl Client {
.clone();

if let Some(alerts) = config.channel_alert {
match Self::find_channel(&config.channel, &channels_res) {
match Self::find_channel(&alerts, &channels_res) {
Some(channel) => {
c.channel_id_alerts = Some(channel.id.clone());
}
Expand Down

0 comments on commit 14c9791

Please sign in to comment.