imbajin commented on code in PR #714:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/714#discussion_r2845301895


##########
hugegraph-client/src/main/java/org/apache/hugegraph/api/graphs/GraphsAPI.java:
##########
@@ -74,7 +74,7 @@ protected String type() {
     @SuppressWarnings("unchecked")
     public Map<String, String> create(String name, String cloneGraphName, 
String configText) {
         this.client.checkApiVersion("0.67", "dynamic graph add");
-        RestHeaders headers = new RestHeaders().add(RestHeaders.CONTENT_TYPE, 
"text/plain");
+        RestHeaders headers = new RestHeaders().add(RestHeaders.CONTENT_TYPE, 
"application/json");

Review Comment:
   Maybe we need to add a test for it to ensure it won't be broken in the future



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to