mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
b9646cceb1
refs https://github.com/TryGhost/Team/issues/1520 **Changes in members repo** Bumped to `5.12.0`, with the following changes: - Compare differences via https://github.com/TryGhost/Members/compare/%40tryghost/members-api%405.11.1...%40tryghost/members-api%405.12.0 - Instead of doing the matching of the offers and subscriptions by looking at the offer redemptions, we can now look at the offer_id from subscriptions. - This also fixes an issue where we don't attach the offer object to subscriptions in the members' browse method - Updated browse behaviour to match the read behaviour of members (product relation needs to get loaded because it is missing in member.products if the subscription is expired). **Tests** - Includes test to see if the API correctly returns the offer object when fetching one or multiple members - Check if the return format is the same for the read, edit and browse members admin API endpoints (offer was missing in subscriptions) - Snapshot files have been updated because now the offer is returned in subscriptions (content length increased) |
||
---|---|---|
.. | ||
__snapshots__ | ||
actions.test.js | ||
config.test.js | ||
custom-theme-settings.test.js | ||
db.test.js | ||
email-preview.test.js | ||
emails.test.js | ||
files.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key-authentication.test.js | ||
labels.test.js | ||
legacy-members.test.js | ||
mail.test.js | ||
media.test.js | ||
members-importer.test.js | ||
members-stripe-connect.test.js | ||
members.test.js | ||
newsletters.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
products.test.js | ||
redirects.test.js | ||
roles.test.js | ||
session.test.js | ||
settings-files.test.js | ||
settings.test.js | ||
site.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
stats.test.js | ||
tags.test.js | ||
themes.test.js | ||
tiers.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |