Skip to content

Commit

Permalink
fix(specs): nb_api_calls in getLogs response is optional (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4142

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 Nov 22, 2024
1 parent bf659a8 commit 3bb821a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/algolia/models/search/log.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ def initialize(attributes = {})

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

if attributes.key?(:processing_time_ms)
Expand Down

0 comments on commit 3bb821a

Please sign in to comment.