diff options
Diffstat (limited to 'api/src/routes/-/readyz.ts')
-rw-r--r-- | api/src/routes/-/readyz.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/-/readyz.ts b/api/src/routes/-/readyz.ts index a42575f8..f7bcfebf 100644 --- a/api/src/routes/-/readyz.ts +++ b/api/src/routes/-/readyz.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); } }); |