(req, res)
| 2 | |
| 3 | class RouterDynamicLoading extends Router { |
| 4 | getData(req, res) { |
| 5 | this._tryProcess(function (req, res) { |
| 6 | var parentId = req.query.parent_id || 0; |
| 7 | res.send(this.storage.children(parentId)); |
| 8 | }, req, res); |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | module.exports = RouterDynamicLoading; |
nothing calls this directly
no test coverage detected