mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
e73b16979f
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' |
||
---|---|---|
.. | ||
__snapshots__ | ||
announcement.test.js | ||
create-stripe-checkout-session.test.js | ||
donation-checkout-session.test.js | ||
feedback.test.js | ||
middleware.test.js | ||
send-magic-link.test.js | ||
signin.test.js | ||
webhooks.test.js | ||
well-known.test.js |