Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
stefan.stamenovic
/
diligent-node-api
Seguir
2
Destacar
0
Fork
0
Código
Incidencias
0
Peticiones pull
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Minor changes
pull/47/head^2
Djordje Djoric
hace 4 años
padre
5db454013d
commit
f9ff1adbe1
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Mostrar estadísticas de diff
1
1
src/endpoints/user.js
+ 1
- 1
src/endpoints/user.js
Ver fichero
@@ -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
)
}
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar