return success response

This commit is contained in:
Simon Voordouw 2017-05-18 15:01:27 +02:00
parent 25aba526b4
commit 02b198d773
1 changed files with 1 additions and 0 deletions

View File

@ -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)