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

Method deleteTask

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

Source from the content-addressed store, hash-verified

41 }
42
43 deleteTask(req, res) {
44 this._tryProcess(function (req, res) {
45 var sid = req.params.id;
46 this.storage.delete(sid, "data");
47 res.send({action: actions.deleted});
48 }, req, res);
49 }
50
51 insertLink(req, res) {
52 this._tryProcess(function (req, res) {

Callers

nothing calls this directly

Calls 2

_tryProcessMethod · 0.95
deleteMethod · 0.65

Tested by

no test coverage detected