aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/express-utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/express-utils.ts')
-rw-r--r--server/helpers/express-utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/express-utils.ts b/server/helpers/express-utils.ts
index 38fe6926b..7b81ed71b 100644
--- a/server/helpers/express-utils.ts
+++ b/server/helpers/express-utils.ts
@@ -59,7 +59,7 @@ function getHostWithPort (host: string) {
59 return host 59 return host
60} 60}
61 61
62function badRequest (req: express.Request, res: express.Response) { 62function badRequest (_req: express.Request, res: express.Response) {
63 return res.type('json') 63 return res.type('json')
64 .status(HttpStatusCode.BAD_REQUEST_400) 64 .status(HttpStatusCode.BAD_REQUEST_400)
65 .end() 65 .end()