From 3bb821ae9fe49672c697778d3b690b266f670b46 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Fri, 22 Nov 2024 13:35:38 +0000 Subject: [PATCH] fix(specs): `nb_api_calls` in `getLogs` response is optional (generated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/algolia/api-clients-automation/pull/4142 Co-authored-by: algolia-bot Co-authored-by: Clément Vannicatte --- lib/algolia/models/search/log.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/algolia/models/search/log.rb b/lib/algolia/models/search/log.rb index 6089ec61..e07b1f69 100644 --- a/lib/algolia/models/search/log.rb +++ b/lib/algolia/models/search/log.rb @@ -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)