0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

return success response

This commit is contained in:
Simon Voordouw 2017-05-18 15:01:27 +02:00
parent 25aba526b4
commit 02b198d773

View File

@ -193,6 +193,7 @@ function M.fetch_POST(request, response)
local remote = settings.get('gcode_server') local remote = settings.get('gcode_server')
local id = request:get("id") local id = request:get("id")
io.popen("print-fetch.lua " .. socket .. " " .. remote .. " " .. id) io.popen("print-fetch.lua " .. socket .. " " .. remote .. " " .. id)
response:setSuccess()
end end
--requires: gcode(string) (the gcode to be appended) --requires: gcode(string) (the gcode to be appended)