diff options
Diffstat (limited to 'api/src/routes/-/healthz.ts')
-rw-r--r-- | api/src/routes/-/healthz.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/-/healthz.ts b/api/src/routes/-/healthz.ts index a42575f8..f7bcfebf 100644 --- a/api/src/routes/-/healthz.ts +++ b/api/src/routes/-/healthz.ts @@ -9,7 +9,7 @@ router.get("/", route({}), (req: Request, res: Response) => { // test that the database is alive & responding getConnection(); return res.sendStatus(200); - } catch(e) { + } catch (e) { res.sendStatus(503); } }); |