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 376e40b commit 9494f06
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/algolia/models/recommend/recommend_hit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def initialize(attributes = {})

if attributes.key?(:_score)
self._score = attributes[:_score]
else
self._score = nil
end

# add extra attribute to additional_properties
Expand Down
2 changes: 0 additions & 2 deletions lib/algolia/models/recommend/trending_facet_hit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ def initialize(attributes = {})

if attributes.key?(:_score)
self._score = attributes[:_score]
else
self._score = nil
end

if attributes.key?(:facet_name)
Expand Down

0 comments on commit 9494f06

Please sign in to comment.