mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 10:42:34 +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:
1 parent
266e9c4739
commit
7e7a2d3619
3 files changed
+12479
-8151
No files matched your search
@@ -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