Posts by Lucas Vilela • 1 point
1 post
-
0
votes1
answer42
viewsA: Node Express get problem
It seems that getMenus is a method not defined by the system, but get yes. What do you think about doing like this?: getMenus = exports.get = (req, res, next) => { Menu .find({}) .then(data =>…
node.jsanswered Lucas Vilela 1