Skip to content

Commit 5299560

Browse files
committed
fix: javascript
1 parent 0f81e4e commit 5299560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/javascript/clients/client/api/helpers.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ async chunkedBatch({ indexName, objects, action = 'addObject', waitForTasks, bat
317317
* @param saveObjects - The `saveObjects` object.
318318
* @param saveObjects.indexName - The `indexName` to save `objects` in.
319319
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
320-
* @param chunkedBatch.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
320+
* @param saveObjects.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
321321
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
322322
*/
323323
async saveObjects(
@@ -337,7 +337,7 @@ async saveObjects(
337337
* @param deleteObjects - The `deleteObjects` object.
338338
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
339339
* @param deleteObjects.objectIDs - The objectIDs to delete.
340-
* @param chunkedBatch.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
340+
* @param deleteObjects.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
341341
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
342342
*/
343343
async deleteObjects(

0 commit comments

Comments
 (0)