瀏覽代碼

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…
取消
儲存