Skip to content

Commit 2ff0a5e

Browse files
author
ehennum
committed
#1302 set flag when atomic values are provided
1 parent e18e938 commit 2ff0a5e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/impl/OkHttpServices.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5827,9 +5827,10 @@ private RequestBody makeRequestBody(CallField[] params) {
58275827
if (paramValues != null) {
58285828
paramValues
58295829
.filter(paramValue -> paramValue != null)
5830-
.forEachOrdered(paramValue ->
5831-
multiBldr.addFormDataPart(paramName, null, makeRequestBody(paramValue))
5832-
);
5830+
.forEachOrdered(paramValue -> {
5831+
hasValue.set();
5832+
multiBldr.addFormDataPart(paramName, null, makeRequestBody(paramValue));
5833+
});
58335834
}
58345835
} else if (param instanceof SingleNodeCallField) {
58355836
SingleNodeCallField singleNodeParam = (SingleNodeCallField) param;

0 commit comments

Comments
 (0)