Skip to content

Commit

Permalink
Merge pull request #252 from lerlacher-fm/le-fix-oncall-exclude
Browse files Browse the repository at this point in the history
Fix oncall user id lookup
  • Loading branch information
lerlacher-fm authored Dec 18, 2024
2 parents 0adf399 + 9753888 commit 5cab963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Synergy/Reactor/PagerDuty.pm
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ sub _relevant_oncalls ($self) {
my $policy_id = $self->escalation_policy_id;
my @oncalls = grep {; $_->{escalation_policy}{id} eq $policy_id }
grep {; $_->{escalation_level} == 1}
grep {; !$should_ignore{$_->{id}} }
grep {; !$should_ignore{$_->{user}{id}} }
$data->{oncalls}->@*;

return Future->done(\@oncalls);
Expand Down

0 comments on commit 5cab963

Please sign in to comment.