MCPcopy Index your code
hub / github.com/DHTMLX/gantt / insertTask

Method insertTask

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

Source from the content-addressed store, hash-verified

24 }
25
26 insertTask(req, res) {
27 this._tryProcess(function (req, res) {
28 var insertedTask = this.storage.insert("data", req.body);
29 res.send({action: actions.inserted, tid: insertedTask.id});
30 }, req, res);
31
32 }
33
34 updateTask(req, res) {
35 this._tryProcess(function (req, res) {

Callers

nothing calls this directly

Calls 2

_tryProcessMethod · 0.95
insertMethod · 0.80

Tested by

no test coverage detected