mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-11 14:44:50 +00:00
Merge pull request from GHSA-hqqp-gpqw-9w5c
This commit is contained in:
@@ -44,9 +44,9 @@ router.patch(
|
||||
|
||||
user.settings.assign(body);
|
||||
|
||||
user.settings.save();
|
||||
await user.settings.save();
|
||||
|
||||
res.json(user.settings);
|
||||
res.json({ ...user.settings, index: undefined });
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user