Skip to content

Commit 16efc5f

Browse files
author
Octave Raimbault
authored
Update getObjects.ts
1 parent c6e8718 commit 16efc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-search/src/methods/index/getObjects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getObjects = (base: SearchIndex) => {
77
return <TObject>(
88
objectIDs: readonly string[],
99
requestOptions?: RequestOptions & GetObjectsOptions
10-
): Readonly<Promise<GetObjectsResponse<TObject>>> => {
10+
): Readonly<Promise<GetObjectsResponse<TObject> | null>> => {
1111
const { attributesToRetrieve, ...options } = requestOptions || {};
1212

1313
const requests = objectIDs.map(objectID => {

0 commit comments

Comments
 (0)