summary refs log tree commit diff
path: root/api/src/routes/-
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-24 09:05:43 -0400
committerGitHub <noreply@github.com>2021-10-24 09:05:43 -0400
commit715e7c97c453c84b496e9629af37d9ac5798419d (patch)
tree3fffabf427fe31a432a1492e7718a0469fc079f3 /api/src/routes/-
parentNew translations auth.json (Spanish, Latin America) (diff)
parent:bug: fix locales (diff)
downloadserver-ts-715e7c97c453c84b496e9629af37d9ac5798419d.tar.xz
Merge branch 'master' into translation
Diffstat (limited to 'api/src/routes/-')
-rw-r--r--api/src/routes/-/healthz.ts2
-rw-r--r--api/src/routes/-/readyz.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/src/routes/-/healthz.ts b/api/src/routes/-/healthz.ts

index a42575f8..f7bcfebf 100644 --- a/api/src/routes/-/healthz.ts +++ b/api/src/routes/-/healthz.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); } }); 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); } });