app/controllers/http_api.js
Function exports
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (app) {
var Data, io;
io = app.io;
Data = app.models.Data;
app.get(/^\/topics\/(.+)$/, function (req, res) {
Avoid too many return
statements within this function. Open
Open
return res.send(data.value);
Avoid too many return
statements within this function. Open
Open
return res.send(406);