summary refs log tree commit diff
path: root/api/src/routes/-/readyz.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-20 14:16:26 -0400
committerGitHub <noreply@github.com>2021-10-20 14:16:26 -0400
commit00fd55ed772b2afe5fdefe1e5395c29f15fc914f (patch)
treed97f134505a08d4930b70d459b2f1517c539ccfa /api/src/routes/-/readyz.ts
parentMerge branch 'master' of http://github.com/fosscord/fosscord-server (diff)
parentreplaced space with tabs (diff)
downloadserver-00fd55ed772b2afe5fdefe1e5395c29f15fc914f.tar.xz
Merge pull request #490 from developomp/master
Prettier format and link simplification
Diffstat (limited to '')
-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); } });