Skip to content

Commit

Permalink
Updated from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Aug 25, 2021
1 parent fd2ef0e commit 88a119b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = ({
logger.info(buildRuleMessage(`Found ${createdSignalsCount} signals for notification.`));

if (ruleSO.attributes.throttle != null) {
scheduleThrottledNotificationActions({
await scheduleThrottledNotificationActions({
alertInstance: services.alertInstanceFactory(alertId),
throttle: ruleSO.attributes.throttle,
startedAt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export const signalRulesAlertType = ({
);

if (savedObject.attributes.throttle != null) {
scheduleThrottledNotificationActions({
await scheduleThrottledNotificationActions({
alertInstance: services.alertInstanceFactory(alertId),
throttle: savedObject.attributes.throttle,
startedAt,
Expand Down

0 comments on commit 88a119b

Please sign in to comment.