diff --git a/src/rest/custom/add.js b/src/rest/custom/add.js index 7fe4d4e..1f96b32 100644 --- a/src/rest/custom/add.js +++ b/src/rest/custom/add.js @@ -3,10 +3,10 @@ module.exports = { action: "/node/custom/addOrUpdate", method: "post", execute: (request, response) => { - let {id, name, type, customPath, apps, createTime, dist, version, zipTime, download, error, extra} = request.body + let {id, name, type, customPath, apps, createTime, dist, version, zipTime, download, error, extra,webhook} = request.body dbUtils.addOrUpdate({ table: 'node_custom_config', - form: {id, name, type, customPath, apps, createTime, dist, version, zipTime, download, error, extra} + form: {id, name, type, customPath, apps, createTime, dist, version, zipTime, download, error, extra,webhook} }).then(data => { response.send({code: 0, data}) }).catch(err => {