diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ if (isTestInstance()) { | |||
82 | 82 | ||
83 | // For the logger | 83 | // For the logger |
84 | app.use(morgan('combined', { | 84 | app.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 |
88 | app.use(bodyParser.json({ | 88 | app.use(bodyParser.json({ |