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:
Madeline
2022-04-23 01:07:59 +10:00
parent ed69bbbe47
commit 5c27b52334
3 changed files with 12479 additions and 8151 deletions
-1
View File
@@ -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]);