Skip to content

Commit

Permalink
fix(specs): consequence is required when saving rules (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4146

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Nov 26, 2024
1 parent 96882ed commit 7e67c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/algoliasearch/search/Rule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ package algoliasearch.search
case class Rule(
objectID: String,
conditions: Option[Seq[Condition]] = scala.None,
consequence: Option[Consequence] = scala.None,
consequence: Consequence,
description: Option[String] = scala.None,
enabled: Option[Boolean] = scala.None,
validity: Option[Seq[TimeRange]] = scala.None
Expand Down

0 comments on commit 7e67c79

Please sign in to comment.