Skip to content

Commit 3bb821a

Browse files
fix(specs): nb_api_calls in getLogs response is optional (generated)
algolia/api-clients-automation#4142 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent bf659a8 commit 3bb821a

File tree

1 file changed

+0
-2
lines changed
  • lib/algolia/models/search

1 file changed

+0
-2
lines changed

lib/algolia/models/search/log.rb

-2
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ def initialize(attributes = {})
181181

182182
if attributes.key?(:nb_api_calls)
183183
self.nb_api_calls = attributes[:nb_api_calls]
184-
else
185-
self.nb_api_calls = nil
186184
end
187185

188186
if attributes.key?(:processing_time_ms)

0 commit comments

Comments
 (0)