Explorar el Código

minor bug fix

master
kj1352 hace 4 años
padre
commit
1a1c81a254
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/user-profile/category-routes.ts

+ 1
- 1
src/user-profile/category-routes.ts Ver fichero

@@ -71,7 +71,7 @@ categoryRoutes.post('/add/', jwtAuthentication, async (request, response) => {
}
});
response.send(200);
response.status(200);
response.send(newCategory.insertedId.toHexString());
} catch(e) {
response.sendStatus(500);


Cargando…
Cancelar
Guardar