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:
parent
25aba526b4
commit
02b198d773
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user