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

Method insertLink

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

Source from the content-addressed store, hash-verified

49 }
50
51 insertLink(req, res) {
52 this._tryProcess(function (req, res) {
53 var insertedLink = this.storage.insert("links", req.body);
54 res.send({action: actions.inserted, tid: insertedLink.id});
55 }, req, res);
56 }
57
58 updateLink(req, res) {
59 this._tryProcess(function (req, res) {

Callers

nothing calls this directly

Calls 2

_tryProcessMethod · 0.95
insertMethod · 0.80

Tested by

no test coverage detected