Skip to content

Commit 4a186df

Browse files
author
lling
committed
Change format from TEXT to JSON marklogic#1260
1 parent 7556fa8 commit 4a186df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3109,7 +3109,7 @@ private <R extends AbstractReadHandle> R processQuery(RequestLogger reqlog, Stri
31093109
structure = builtCtsQuery.serialize();
31103110
logger.debug("{} processing cts query {}", path, structure);
31113111
if (sendQueryAsPayload && structure != null) {
3112-
input = new StringHandle(structure).withFormat(Format.TEXT);
3112+
input = new StringHandle(structure).withFormat(Format.JSON);
31133113
}
31143114
}else {
31153115
throw new UnsupportedOperationException(path+" cannot process query of "+qdef.getClass().getName());

0 commit comments

Comments
 (0)