Djordje Djoric 4 лет назад
Родитель
Сommit
f9ff1adbe1
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/endpoints/user.js

+ 1
- 1
src/endpoints/user.js Просмотреть файл

return res.status(200).send(allUsers) return res.status(200).send(allUsers)
} catch (e) { } catch (e) {
// TODO: Jel i ovde treba next(e)? // TODO: Jel i ovde treba next(e)?
return res.status(500).send('Internal server error!')
next(e)
} }
} }



Загрузка…
Отмена
Сохранить