diff --git a/com/List.lua b/com/List.lua index cb2c227..3e2fa38 100644 --- a/com/List.lua +++ b/com/List.lua @@ -52,6 +52,6 @@ end local basePath = "com" local layer = params.layer and params.layer:gsub(">", "/") or nil -session.response.result = { +session.response.send({ answer = layer and scanDirectory(basePath, layer) or scanDirectory(basePath, "") -} \ No newline at end of file +}) \ No newline at end of file