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

🐛 Fixed "Validation failed for posts[0]" error when saving a post

refs https://github.com/TryGhost/Ghost-SDK/issues/348

- There was an issue with schema clashing in the cach that caused validation to be run agains wrong API version
This commit is contained in:
Naz 2020-10-02 17:20:16 +13:00
parent 25f74cfa3b
commit d9c643ab10
2 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@
"@nexes/nql": "0.4.0",
"@sentry/node": "5.24.2",
"@tryghost/adapter-manager": "0.1.11",
"@tryghost/admin-api-schema": "1.0.0",
"@tryghost/admin-api-schema": "1.0.1",
"@tryghost/bootstrap-socket": "0.2.2",
"@tryghost/constants": "0.1.1",
"@tryghost/errors": "0.2.4",

View file

@ -378,10 +378,10 @@
dependencies:
"@tryghost/errors" "^0.2.4"
"@tryghost/admin-api-schema@1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-1.0.0.tgz#7da26b8589fc75b73ea2ef8e744a8d9b2d41d7f1"
integrity sha512-FDEw4oEX3AsPugBbHT/1RuDqcyvPZhrwum+2mfk1OW9buw10opERFzhAdZz+Jrf4C8WAuoMXFk7BLm4xi30+9w==
"@tryghost/admin-api-schema@1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-1.0.1.tgz#df5b736e7f217e070d643b4a5e46eba9e95be66f"
integrity sha512-AsaBPN3mdgu2dicFS82rdBhV8idz+nxy9Z7FNKaiv0jNRvHHSu9lQyAReio/JevBxnGsywp90CH3sJFUvgOSbw==
dependencies:
"@tryghost/errors" "0.2.4"
bluebird "^3.5.3"