diff --git a/src/rest/api/api_printer.lua b/src/rest/api/api_printer.lua index b879eae..4a5a396 100644 --- a/src/rest/api/api_printer.lua +++ b/src/rest/api/api_printer.lua @@ -193,6 +193,7 @@ function M.fetch_POST(request, response) local remote = settings.get('gcode_server') local id = request:get("id") io.popen("print-fetch.lua " .. socket .. " " .. remote .. " " .. id) + response:setSuccess() end --requires: gcode(string) (the gcode to be appended)