diff --git a/luci-app-system-hub/htdocs/luci-static/resources/system-hub/api.js b/luci-app-system-hub/htdocs/luci-static/resources/system-hub/api.js index b41d2b63..82d80bb2 100644 --- a/luci-app-system-hub/htdocs/luci-static/resources/system-hub/api.js +++ b/luci-app-system-hub/htdocs/luci-static/resources/system-hub/api.js @@ -91,14 +91,14 @@ var callSaveSettings = rpc.declare({ var callGetComponents = rpc.declare({ object: 'luci.system-hub', method: 'get_components', - expect: { modules: [] } + expect: {} }); var callGetComponentsByCategory = rpc.declare({ object: 'luci.system-hub', method: 'get_components_by_category', params: ['category'], - expect: { modules: [] } + expect: {} }); return baseclass.extend({