Ghost/core/server
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
..
adapters 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api Fixed error when firing Members webhooks (#14645) 2022-05-04 12:42:27 +02:00
data Dropped nullable from members_subscribe_events.newsletter_id (#14656) 2022-05-03 16:30:07 +02:00
lib Updated probe-image-size options to reflect underlying change 2022-03-09 20:27:38 +00:00
models Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
services Fixed error when firing Members webhooks (#14645) 2022-05-04 12:42:27 +02:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
update-check.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00