From d9c643ab10754f9271806d6b628086189d60f6e1 Mon Sep 17 00:00:00 2001 From: Naz Date: Fri, 2 Oct 2020 17:20:16 +1300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20"Validation=20failed=20f?= =?UTF-8?q?or=20posts[0]"=20error=20when=20saving=20a=20post?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0c21144697..e4d77839de 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 083a65df5f..fa5a4dc2ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"