Removed invalid subscriptions from BREAD API

refs https://github.com/TryGhost/Team/issues/1243

When invalid subscriptions without any price data are included in the
API, we are faced with errors due to the data being in an undefined
state. This updates the API to not respond with these invalid
subscriptions.
This commit is contained in:
Fabien egg O'Carroll 2021-12-01 11:00:01 +02:00
parent c77263f35b
commit c55a138a58
2 changed files with 5 additions and 5 deletions

View File

@ -79,7 +79,7 @@
"@tryghost/limit-service": "1.0.0",
"@tryghost/logging": "1.0.1",
"@tryghost/magic-link": "1.0.14",
"@tryghost/members-api": "2.7.5",
"@tryghost/members-api": "2.7.6",
"@tryghost/members-csv": "1.1.8",
"@tryghost/members-importer": "0.3.4",
"@tryghost/members-offers": "0.10.3",

View File

@ -1518,10 +1518,10 @@
"@tryghost/domain-events" "^0.1.3"
"@tryghost/member-events" "^0.3.1"
"@tryghost/members-api@2.7.5":
version "2.7.5"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.7.5.tgz#693aad037697757e8c5f69f267606208bbb9c19f"
integrity sha512-KieQlWshDAUG3CxHjN1J8k3IH5tl/oCDEB7SM3nnbZoVV2frSnFInAHXCLFwkjunGx0dpJEdzVUgr/VdNlb9DA==
"@tryghost/members-api@2.7.6":
version "2.7.6"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.7.6.tgz#2d9daca17fd639aeb4e1ae454995e663438e6dd4"
integrity sha512-EXDVZDYFSQ1w+dToshID3Zo0ZRvq7QdQwFMrI5rI8ANFQe2wbok0GdxJvjaMpFl8ppqQGQjRWdtLCVolU4xqTw==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/domain-events" "^0.1.3"