diff options
| author | Tom Harley | 2018-03-05 16:27:30 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-05 16:27:30 +0000 |
| commit | f3e538755207f268432a4a55cb6b60cc24523fd7 (patch) | |
| tree | fec3bd42f7688f61019cebf499c09c27df41e6b7 /src/FileRouter.ts | |
| parent | Implement handling of unauthorised requests (diff) | |
| parent | Introduce logging system (diff) | |
| download | medicine-f3e538755207f268432a4a55cb6b60cc24523fd7.tar.gz medicine-f3e538755207f268432a4a55cb6b60cc24523fd7.zip | |
Merge branch ‘trh/logger’ into trh/payload-checker
Diffstat (limited to 'src/FileRouter.ts')
| -rw-r--r-- | src/FileRouter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts index 8d13401..1cef85d 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -70,7 +70,7 @@ const postLog: Middleware = return; } for (const item of req.body) { - logger.log(item.level, item.value, { + logger.forward(item.level, item.value, { component: item.component, user: req.user.username, external: true |
