Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
Go to file
Fabien egg O'Carroll 188423b1ed Removed Subscriptions without Prices from BREAD API
refs https://github.com/TryGhost/Team/issues/1243

It's possible to get into strange states where a subscription in Ghost
doesn't have an associated Price. This then has knock on effects because
we're dealing with data in an undefined state. Rather than add guards
against this throughout the entire stack, we stop returning it from the
BREAD API. It might be worth considering removing these subscriptions
from the response of the repository, but for now this is the most
minimal change that fixes the problem.
2021-12-01 10:45:50 +02:00
ghost Removed Subscriptions without Prices from BREAD API 2021-12-01 10:45:50 +02:00