Skip to content

Commit

Permalink
fix(specs): getObject return object (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3446

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
algolia-bot and millotp committed Jul 30, 2024
1 parent 6259188 commit 73cc6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-search/src/searchClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ export function createSearchClient({
getObject(
{ indexName, objectID, attributesToRetrieve }: GetObjectProps,
requestOptions?: RequestOptions
): Promise<Record<string, string>> {
): Promise<Record<string, any>> {
if (!indexName) {
throw new Error(
'Parameter `indexName` is required when calling `getObject`.'
Expand Down

0 comments on commit 73cc6ae

Please sign in to comment.