From 852ede3e79fefc3659cb236fbfa0793e393beef4 Mon Sep 17 00:00:00 2001
From: Christian Paul <christianp@matrix.org>
Date: Fri, 4 Dec 2020 12:07:19 +0100
Subject: [PATCH] Change HTTP status of /health from 201 to 200

---
 src/discordas.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/discordas.ts b/src/discordas.ts
index e695628..6b6ba99 100644
--- a/src/discordas.ts
+++ b/src/discordas.ts
@@ -178,7 +178,7 @@ async function run() {
 
     // tslint:disable-next-line:no-any
     appservice.expressAppInstance.get("/health", (_, res: any) => {
-        res.status(201).send("");
+        res.status(200).send("");
     });
 
     // tslint:disable-next-line:no-any
-- 
GitLab