diff --git a/piflow-server/src/main/scala/cn/piflow/api/HTTPService.scala b/piflow-server/src/main/scala/cn/piflow/api/HTTPService.scala index 20ec3b2..43eb8e1 100644 --- a/piflow-server/src/main/scala/cn/piflow/api/HTTPService.scala +++ b/piflow-server/src/main/scala/cn/piflow/api/HTTPService.scala @@ -256,7 +256,7 @@ object HTTPService extends DefaultJsonProtocol with Directives with SprayJsonSup entity match { case HttpEntity.Strict(_, data) =>{ var flowGroupJson = data.utf8String - flowGroupJson = flowGroupJson.replaceAll("}","}\n") +// flowGroupJson = flowGroupJson.replaceAll("}","}\n") val flowGroupExecution = API.startFlowGroup(flowGroupJson) flowGroupMap += (flowGroupExecution.groupId() -> flowGroupExecution) val result = "{\"flowGroup\":{\"id\":\"" + flowGroupExecution.groupId() + "\"}}"