Ghost/test/e2e-api
Simon Backx 21af34a0d4
Added mapping from member subscribed to newsletters on edit/create (#14596)
refs https://github.com/TryGhost/Team/issues/1545

**Changes (`members-api`)**
- Compare via https://github.com/TryGhost/Members/compare/%40tryghost/members-api%406.0.0...%40tryghost/members-api%406.1.0
- Added mapping from member subscribed to newsletters on edit/create
- When editing or creating a member with the subscribed property, it is mapped to the corresponding newletters value
- Defaults to all active newsletters with visibility = members and subscribe_on_signup = true

**Tests**
- Adds test that adds a member with subscribed = true
- Adds test that adds a member with subscribed = false
- Adds test that edits a member with subscribed = true
- Adds test that edits a member with subscribed = false
2022-04-27 17:04:55 +02:00
..
admin Added mapping from member subscribed to newsletters on edit/create (#14596) 2022-04-27 17:04:55 +02:00
content Updated tests to use DatabaseInfo 2022-03-17 17:33:11 +00:00
members Updated members API to return subscriptions' offers from the offer_id (#14515) 2022-04-21 12:06:06 +02:00
shared Hooked up api version compatibility middleware 2022-04-22 16:31:56 +08:00