Skip to content

Commit 46ab973

Browse files
algolia-botmillotp
andcommitted
fix(specs): getObject return object (generated)
algolia/api-clients-automation#3446 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 2ce4ff7 commit 46ab973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-search/src/searchClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ export function createSearchClient({
18371837
getObject(
18381838
{ indexName, objectID, attributesToRetrieve }: GetObjectProps,
18391839
requestOptions?: RequestOptions
1840-
): Promise<Record<string, string>> {
1840+
): Promise<Record<string, any>> {
18411841
if (!indexName) {
18421842
throw new Error(
18431843
'Parameter `indexName` is required when calling `getObject`.'

0 commit comments

Comments
 (0)