diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-04-23 01:07:59 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-04-23 01:07:59 +1000 |
commit | 5c27b523341346a8317beae5b3c8b9460cedb23a (patch) | |
tree | 83fee3e4eb5547551fea562b6a0eaeec9593f0b3 /api/scripts | |
parent | Update UserGroup.ts (diff) | |
download | server-5c27b523341346a8317beae5b3c8b9460cedb23a.tar.xz |
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/
Diffstat (limited to 'api/scripts')
-rw-r--r-- | api/scripts/generate_schema.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api/scripts/generate_schema.js b/api/scripts/generate_schema.js index c12f6b1a..7e742ec1 100644 --- a/api/scripts/generate_schema.js +++ b/api/scripts/generate_schema.js @@ -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]); |