mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
188423b1ed
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. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
.gitignore | ||
index.js | ||
package.json |