We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14dfd19 commit d7accacCopy full SHA for d7accac
lib/algolia/models/search/get_objects_response.rb
@@ -62,6 +62,8 @@ def initialize(attributes = {})
62
if (value = attributes[:results]).is_a?(Array)
63
self.results = value
64
end
65
+ else
66
+ self.results = nil
67
68
69
0 commit comments