0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/e2e-api
Simon Backx 21d9d20e3e
Included newsletter relation by default in posts (#14723)
refs https://github.com/TryGhost/Team/issues/1569

**Changes in admin-api-schema:**
- https://github.com/TryGhost/SDK/compare/%40tryghost/admin-api-schema%402.14.1...%40tryghost/admin-api-schema%402.15.0
- Ignore `newsletter` when used in input

**Changes**
- Added the `newsletter` relation as a default include for posts
- Removed the newsletter_id from the API output

**Tests**
- Test the newsletter relation is always loaded for browse, read, add and edit, unless the include option is added explicitly

Co-authored-by: Matt Hanley <git@matthanley.co.uk>
2022-05-09 11:06:59 +02:00
..
admin Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
content Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
members Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
shared Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00