0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 19:13:49 +01:00

Added missing setSuccess in config/all api

This commit is contained in:
peteruithoven 2013-08-28 14:17:25 +02:00
parent c915906395
commit 4e124b74d5

View File

@ -19,7 +19,6 @@ end
function M._global_POST(request, response)
response:setSuccess()
for k,v in pairs(request:getAll()) do
local r,m = settings.set(k, v)
@ -30,6 +29,7 @@ function M._global_POST(request, response)
end
function M.all_GET(request, response)
response:setSuccess()
for k,v in pairs(settings.getAll()) do
response:addData(k,v)
end