MCPcopy Create free account
hub / github.com/DHTMLX/gantt / updateTask

Method updateTask

scripts/backend/router.js:34–41  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

32 }
33
34 updateTask(req, res) {
35 this._tryProcess(function (req, res) {
36 var sid = req.params.id;
37
38 this.storage.update(sid, "data", req.body);
39 res.send({action: actions.updated});
40 }, req, res)
41 }
42
43 deleteTask(req, res) {
44 this._tryProcess(function (req, res) {

Callers

nothing calls this directly

Calls 2

_tryProcessMethod · 0.95
updateMethod · 0.65

Tested by

no test coverage detected