fix(est): retain unchanged JDL content
This commit is contained in:
@@ -155,7 +155,7 @@ const server = http.createServer(async (req, res) => {
|
||||
}
|
||||
if (req.method === "POST" && url.pathname === "/api/import-jdl") {
|
||||
const empty = vm.runInContext("EstNative.empty()", engine);
|
||||
reply(res, 200, calculate(jdl.read(await body(req), empty)));
|
||||
reply(res, 200, jdl.markOriginal(calculate(jdl.read(await body(req), empty))));
|
||||
return;
|
||||
}
|
||||
if (req.method === "POST" && url.pathname === "/api/export-jdl") {
|
||||
|
||||
Reference in New Issue
Block a user