(req, res)
| 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) { |
nothing calls this directly
no test coverage detected