Skip to content

Commit

Permalink
fix(specs): recommend is optional (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3967

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
  • Loading branch information
algolia-bot committed Oct 14, 2024
1 parent d385534 commit fe4ccc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/algoliasearch/recommend/RecommendHit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ case class RecommendHit(
snippetResult: Option[Map[String, SnippetResult]] = scala.None,
rankingInfo: Option[RankingInfo] = scala.None,
distinctSeqID: Option[Int] = scala.None,
score: Double,
score: Option[Double] = scala.None,
additionalProperties: Option[List[JField]] = None
) extends RecommendationsHitTrait

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ package algoliasearch.recommend
* filter will be returned.
*/
case class TrendingFacetHit(
score: Double,
score: Option[Double] = scala.None,
facetName: String,
facetValue: String
) extends RecommendationsHitTrait

0 comments on commit fe4ccc0

Please sign in to comment.