0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Matt Hanley 859d49626c
Updated mapping for stripe_products when product import is skipped (#14965)
refs d63e9256ea

- Following the ref'd commit, when migrating a site the default and free tiers would be skipped because they exist by default in the new site
- As the product is skipped, we don't have the ID available in the imported data to map the stripe_product to
- If the stripe_product isn't mapped, imported members won't be mapped to the correct tier
- This commit adds a lookup for the product by name and slug to restore the correct stripe_product mapping

Co-authored-by: Simon Backx <simon@ghost.org>
2022-06-03 17:31:53 +01:00
..
adapters 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
data Updated mapping for stripe_products when product import is skipped (#14965) 2022-06-03 17:31:53 +01:00
lib 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
models 🐛 Fixed an error when updating a user 2022-06-02 12:13:27 +01:00
services Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Increased body parser limit to 50mb 2022-06-01 10:12:23 +01:00
analytics-events.js
ghost-server.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js
run-update-check.js Renamed settings index.js to settings-service.js 2022-05-10 20:55:31 +01:00
update-check.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00