mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 21:53:46 +00:00
fix bad user validation
This commit is contained in:
1 parent
906d51b454
commit
c00c70985c
2 files changed
+10
-8
No files matched your search
@@ -130,6 +130,7 @@ router.patch(
|
||||
}
|
||||
|
||||
user.assign(body);
|
||||
user.validate();
|
||||
await user.save();
|
||||
|
||||
// @ts-ignore
|
||||
|
||||
Reference in new issue
Block a user