0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/members
Simon Backx ad1ebe6a47
Fixed error when firing Members webhooks (#14645)
refs https://github.com/TryGhost/Team/issues/1577

The last seen at was being updated via the model rather than the
respository, which mean that the default relations were not being
loaded.

This fix updates the repository to load the newseletters relation,
updates the last seen at updated to use the repository and updates the
output serializer to handle missing newsletter relation.

We also update all packages relying on the domain-events package to
ensure that they're all using the same version.

Co-authored-by: Fabien 'egg' O'Carroll <fabien@allou.is>
2022-05-04 12:42:27 +02:00
..
emails Removed empty class attribute from emails (#13906) 2021-12-16 16:58:33 +02:00
importer Integrated @tryghost/members-importer 2021-07-21 19:34:30 +04:00
stats Renamed index.js file to a service 2021-08-18 11:48:16 +04:00
api.js Added newsletter from address verification (#14491) 2022-04-26 12:31:34 +01:00
config.js Fixed urlUtils usage in member config provider 2022-05-03 21:07:04 +01:00
content-gating.js Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
index.js
middleware.js Added member endpoints for managing newsletter subscriptions (#14624) 2022-04-28 17:14:17 +05:30
service.js Fixed error when firing Members webhooks (#14645) 2022-05-04 12:42:27 +02:00
settings.js Updated support email address redirect (#14075) 2022-01-27 12:43:01 +01:00
SingleUseTokenProvider.js
stripe-connect.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
utils.js Added newsletters to Portal site data 2022-04-05 22:23:39 +05:30