0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api/canary/utils
Rishabh 413c1cc4ce Handled empty stripe price object in API
no refs

In case of Stripe disconnect, its possible that the product table still contains reference to monthly/price id while the object itself isn't present in the DB. In this scenario the stripe price returned is empty object instead of `null` , which then passes down empty object in the API that causes clients to fail if they just check existence of stripe price. The fix returns `null` value for monthly/yearly price in case it has no reference and is empty object.
2021-06-08 20:59:39 +05:30
..
serializers Handled empty stripe price object in API 2021-06-08 20:59:39 +05:30
validators Fixed typos 2021-05-12 17:06:10 +04:00
index.js
permissions.js Moved i18n to shared 2021-05-04 13:03:38 +01:00