Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
stefan.stamenovic
/
diligent-node-api
Obserwuj
2
Gwiazdka
0
Forkuj
0
Kod
Problemy
0
Pull Requests
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
Minor changes
pull/47/head^2
Djordje Djoric
3 lat temu
rodzic
5db454013d
commit
f9ff1adbe1
1 zmienionych plików
z
1 dodań
i
1 usunięć
Widok podzielony
Pokaż statystyki zmian
1
1
src/endpoints/user.js
+ 1
- 1
src/endpoints/user.js
Wyświetl plik
@@ -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
)
}
}
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz