0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed validation errors when saving members

no issue

- schema validation was erroring due extra properties on the member resource that were recently added to the output causing the client to send them back when saving
- updated @tryghost/admin-api-schema to include skips for the new read-only properties
This commit is contained in:
Kevin Ansfield 2020-12-09 21:47:14 +00:00
parent 32fe260763
commit 24bd2d78cb
2 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@
"@nexes/nql": "0.5.0",
"@sentry/node": "5.29.0",
"@tryghost/adapter-manager": "0.2.3",
"@tryghost/admin-api-schema": "1.4.0",
"@tryghost/admin-api-schema": "1.4.1",
"@tryghost/bootstrap-socket": "0.2.3",
"@tryghost/constants": "0.1.2",
"@tryghost/errors": "0.2.5",

View file

@ -386,10 +386,10 @@
dependencies:
"@tryghost/errors" "^0.2.5"
"@tryghost/admin-api-schema@1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-1.4.0.tgz#159ab19de984c509d5f280dda0d95a67e47e3436"
integrity sha512-hrcRhrGSsY0SLDZQCHLAPdEhlKenBO2b6ruF/VBbE+Q/HE2hCl8cI+X6nsRhSd8whFyoHLZ+uYTS0WO1MAppuA==
"@tryghost/admin-api-schema@1.4.1":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-1.4.1.tgz#49b257b328c5eab3aba4d0c2f4762fe7aab80dd2"
integrity sha512-9QVI/Oy7HcW0qEkgR5hlOSbGFIH7vLsJpThmI1P+NhpaQmSKyCylAzhgnu6xNKCH9N7JHXgxpRtY70a+r7F3Sg==
dependencies:
"@tryghost/errors" "0.2.5"
bluebird "^3.5.3"