mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-09 23:55:28 +00:00
Fixed ability for user to edit any property of themselves, including rights, flags. Note to self: schemas.json is a GENERATED file. npm run generate:schema in api/
This commit is contained in:
@@ -31,7 +31,6 @@ const Excluded = [
|
||||
];
|
||||
|
||||
function modify(obj) {
|
||||
delete obj.additionalProperties;
|
||||
for (var k in obj) {
|
||||
if (typeof obj[k] === "object" && obj[k] !== null) {
|
||||
modify(obj[k]);
|
||||
|
||||
Reference in New Issue
Block a user