From 73cc6aec7271839c200db80da9f79aed273279ce Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Tue, 30 Jul 2024 08:11:20 +0000 Subject: [PATCH] fix(specs): getObject return object (generated) https://github.com/algolia/api-clients-automation/pull/3446 Co-authored-by: algolia-bot Co-authored-by: Pierre Millot --- packages/client-search/src/searchClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client-search/src/searchClient.ts b/packages/client-search/src/searchClient.ts index 64db2837f..a650b7bb8 100644 --- a/packages/client-search/src/searchClient.ts +++ b/packages/client-search/src/searchClient.ts @@ -1837,7 +1837,7 @@ export function createSearchClient({ getObject( { indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions - ): Promise> { + ): Promise> { if (!indexName) { throw new Error( 'Parameter `indexName` is required when calling `getObject`.'