Skip to content

Commit

Permalink
Fixed type check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Mar 6, 2020
1 parent 056f34e commit 908bfa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const patchRules = async ({
id: rule.id,
data: {
tags: addTags(tags ?? rule.tags, rule.params.ruleId, immutable ?? rule.params.immutable),
throttle: null,
name: calculateName({ updatedName: name, originalName: rule.name }),
schedule: {
interval: calculateInterval(interval, rule.schedule.interval),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const updateRules = async ({
name,
schedule: { interval },
actions: rule.actions,
throttle: null,
params: {
description,
ruleId: rule.params.ruleId,
Expand Down

0 comments on commit 908bfa2

Please sign in to comment.