Skip to content

Commit bb7aeb2

Browse files
committed
fix: java
1 parent 2470cac commit bb7aeb2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

specs/ingestion/paths/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ post:
2222
- $ref: '../common/parameters.yml#/watch'
2323
- name: referenceIndexName
2424
in: query
25-
description: This is required to be provided when targeting an index that does not have a push connector setup (e.g. a tmp index), but you wish to attach another index's transformation to it (e.g. the source index name).
25+
description: This is required when targeting an index that does not have a push connector setup (e.g. a tmp index), but you wish to attach another index's transformation to it (e.g. the source index name).
2626
required: false
2727
schema:
2828
type: string

templates/java/api_helpers.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,7 @@ public <T> WatchResponse saveObjectsWithTransformation(
738738
indexName,
739739
new PushTaskPayload().setAction(com.algolia.model.ingestion.Action.ADD_OBJECT).setRecords(this.objectsToPushTaskRecords(objects)),
740740
waitForTasks,
741+
null,
741742
requestOptions
742743
);
743744
}
@@ -983,6 +984,7 @@ public <T> WatchResponse partialUpdateObjectsWithTransformation(
983984
)
984985
.setRecords(this.objectsToPushTaskRecords(objects)),
985986
waitForTasks,
987+
null,
986988
requestOptions
987989
);
988990
}

0 commit comments

Comments
 (0)