mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +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) |
||
---|---|---|
.. | ||
signin.test.js | ||
webhooks.test.js |