Преглед изворни кода

Minor changes

pull/47/head^2
Djordje Djoric пре 4 година
родитељ
комит
f9ff1adbe1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/endpoints/user.js

+ 1
- 1
src/endpoints/user.js Прегледај датотеку

@@ -8,7 +8,7 @@ const getUsers = async (req, res, next) => {
return res.status(200).send(allUsers)
} catch (e) {
// TODO: Jel i ovde treba next(e)?
return res.status(500).send('Internal server error!')
next(e)
}
}


Loading…
Откажи
Сачувај