Ghost/ghost/core/test/e2e-api
Naz e73b16979f Trimmed down Members Admin API response data
refs https://github.com/TryGhost/Arch/issues/87

- The Members Admin API and members.* webhooks were returning too many fields in the nested `newsletters` objects. There was no "allowlist" serializer for the newsletter object, which meant every time we add a new field to the database we would unintentionally return extra fields without a second thought.
- With this change only following fields will be returned with `members[x].newsletters[x]`:
'id',
'name',
'description',
'status'
2023-09-13 13:18:43 +08:00
..
admin Trimmed down Members Admin API response data 2023-09-13 13:18:43 +08:00
content Updated Portal to always honor outboundLinkTagging setting (#18079) 2023-09-12 10:27:04 +00:00
members Trimmed down Members Admin API response data 2023-09-13 13:18:43 +08:00
members-comments Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
shared Updated Portal to always honor outboundLinkTagging setting (#18079) 2023-09-12 10:27:04 +00:00
webmentions Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00