summary refs log tree commit diff
path: root/api/src/routes/-/readyz.ts
diff options
context:
space:
mode:
authordevelopomp <developomp@gmail.com>2021-10-20 09:13:22 +0900
committerdevelopomp <developomp@gmail.com>2021-10-20 09:13:22 +0900
commit2ce3fbc6525cd8c1ddd060c54f833c5b6a2623c7 (patch)
tree717ad10f33462c0298733407d8773c595828c32f /api/src/routes/-/readyz.ts
parentprettier formatted /bundle (diff)
downloadserver-2ce3fbc6525cd8c1ddd060c54f833c5b6a2623c7.tar.xz
prettier formatted /api
Diffstat (limited to 'api/src/routes/-/readyz.ts')
-rw-r--r--api/src/routes/-/readyz.ts2
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); } });