Skip to content

Commit 274251b

Browse files
committed
wait
1 parent a697b4f commit 274251b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const replaceAllObjects = (base: SearchIndex) => {
107107
appId: base.appId,
108108
transporter: base.transporter,
109109
indexName: temporaryIndexName,
110-
})();
110+
})().wait();
111111

112112
throw error;
113113
});

0 commit comments

Comments
 (0)