Sfoglia il codice sorgente

minor bug fix

master
kj1352 4 anni fa
parent
commit
1a1c81a254
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/user-profile/category-routes.ts

+ 1
- 1
src/user-profile/category-routes.ts Vedi File

@@ -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);


Caricamento…
Annulla
Salva