mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +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) |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |