Merge pull request #3646 from tano-systems/pr/luci-base-dispatcher-cbi-config

luci-base: Add missed config parameter for cbi when converting to JSON
This commit is contained in:
Jo-Philipp Wich 2020-02-18 12:30:35 +01:00 committed by GitHub
commit 8b46a68078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,8 @@ local function target_to_json(target, module)
elseif target.type == "cbi" then
action = {
["type"] = "cbi",
["path"] = target.model
["path"] = target.model,
["config"] = target.config
}
elseif target.type == "form" then
action = {