summary refs log tree commit diff
path: root/api/src/routes/-/readyz.ts
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-24 18:13:51 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-24 18:13:51 +0300
commitb603b81629a7775914dcb4eae53f418c3620dbdd (patch)
treeb13cc06dcf49ebe49ffff452758e3849baa0ca2f /api/src/routes/-/readyz.ts
parentFormat the file (diff)
parentMerge pull request #492 from fosscord/translation (diff)
downloadserver-b603b81629a7775914dcb4eae53f418c3620dbdd.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-server
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); } });