Skip to content

Commit

Permalink
fix(specs): results in getObjects is required (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4024

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Oct 23, 2024
1 parent 14dfd19 commit d7accac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/algolia/models/search/get_objects_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def initialize(attributes = {})
if (value = attributes[:results]).is_a?(Array)
self.results = value
end
else
self.results = nil
end
end

Expand Down

0 comments on commit d7accac

Please sign in to comment.