diff options
| author | josh97josh | 2018-04-16 18:20:20 +0100 |
|---|---|---|
| committer | josh97josh | 2018-04-16 18:20:20 +0100 |
| commit | a046fe3bc72d4017865c8daf543c5657f465de08 (patch) | |
| tree | 13609e231c0f48dae5b683ff0704805530200724 /src/FileRouter.ts | |
| parent | precondition files works (diff) | |
| download | medicine-a046fe3bc72d4017865c8daf543c5657f465de08.tar.gz medicine-a046fe3bc72d4017865c8daf543c5657f465de08.zip | |
small fixes
Diffstat (limited to 'src/FileRouter.ts')
| -rw-r--r-- | src/FileRouter.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts index f941dd6..4f59586 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -382,6 +382,7 @@ const postUsername: Middleware = async( if (req.body) { user.metadata = req.body; } + await user.save(); next(); }; |
