Skip to content

Commit 9494f06

Browse files
committed
fix(specs): recommend is optional (generated)
algolia/api-clients-automation#3967 Co-authored-by: algolia-bot <[email protected]>
1 parent 376e40b commit 9494f06

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/algolia/models/recommend/recommend_hit.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ def initialize(attributes = {})
9999

100100
if attributes.key?(:_score)
101101
self._score = attributes[:_score]
102-
else
103-
self._score = nil
104102
end
105103

106104
# add extra attribute to additional_properties

lib/algolia/models/recommend/trending_facet_hit.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ def initialize(attributes = {})
7171

7272
if attributes.key?(:_score)
7373
self._score = attributes[:_score]
74-
else
75-
self._score = nil
7674
end
7775

7876
if attributes.key?(:facet_name)

0 commit comments

Comments
 (0)