diff --git a/server/routers/api-router.js b/server/routers/api-router.js index f4628bc6..201efc41 100644 --- a/server/routers/api-router.js +++ b/server/routers/api-router.js @@ -92,7 +92,7 @@ router.get("/api/push/:pushToken", async (request, response) => { } } catch (e) { - response.json({ + response.status(404).json({ ok: false, msg: e.message });