Skip to content

Commit

Permalink
[ML] Fixing schema for custom rule conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Aug 10, 2020
1 parent b3202a0 commit 52fc5f6
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 52fc5f6

Please sign in to comment.