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
commitb8b0112d049521eb479467c100628ec4aa59f0ee (patch)
tree71daee72e6455add73cf736f90ade349a6c71262 /api/src/routes/-/readyz.ts
parentMerge branch 'master' of http://github.com/fosscord/fosscord-server (diff)
parentreplaced space with tabs (diff)
downloadserver-b8b0112d049521eb479467c100628ec4aa59f0ee.tar.xz
Merge pull request #490 from developomp/master
Prettier format and link simplification
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); } });