Ghost/ghost/core/test/e2e-webhooks
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
..
__snapshots__ Trimmed down Members Admin API response data 2023-09-13 13:18:43 +08:00
members.test.js Trimmed down Members Admin API response data 2023-09-13 13:18:43 +08:00
pages.test.js Added e2e tests for page.unscheduled webhook (#15722) 2023-02-02 13:03:23 +00:00
posts.test.js Added e2e tests for post.rescheduled webhook (#15735) 2022-11-05 13:52:03 +00:00
site.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
tags.test.js Added e2e tests for tag.edited webhook (#15555) 2022-10-12 20:00:04 +01:00