Skip to content

Commit

Permalink
[ML] Fixing schema for custom rule conditions (elastic#74676)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
jgowdyelastic and elasticmachine committed Aug 11, 2020
1 parent 1fcea3d commit f127603
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const customRulesSchema = schema.maybe(
schema.maybe(
schema.object({
actions: schema.arrayOf(schema.string()),
conditions: schema.arrayOf(schema.any()),
conditions: schema.maybe(schema.arrayOf(schema.any())),
scope: schema.maybe(schema.any()),
})
)
Expand Down

0 comments on commit f127603

Please sign in to comment.