Skip to content

Commit 0ec9670

Browse files
committed
Changing "endpointState" variable to "workUnit" for null check.
1 parent f5ed510 commit 0ec9670

File tree

1 file changed

+1
-1
lines changed
  • marklogic-client-api/src/main/java/com/marklogic/client/dataservices/impl

1 file changed

+1
-1
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/dataservices/impl/IOCallerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ BaseProxy.DBFunctionRequest makeRequest(
226226
));
227227
if (workUnit != null)
228228
fieldNum++;
229-
} else if (endpointState != null) {
229+
} else if (workUnit != null) {
230230
throw new IllegalArgumentException("workUnit parameter not supported by endpoint: "+getEndpointPath());
231231
}
232232

0 commit comments

Comments
 (0)