aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 99077a173..a138b6359 100644
--- a/server.ts
+++ b/server.ts
@@ -82,7 +82,7 @@ if (isTestInstance()) {
82 82
83// For the logger 83// For the logger
84app.use(morgan('combined', { 84app.use(morgan('combined', {
85 stream: { write: logger.info } 85 stream: { write: logger.info.bind(logger) }
86})) 86}))
87// For body requests 87// For body requests
88app.use(bodyParser.json({ 88app.use(bodyParser.json({