0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed critical alerts sending to admin users

refs https://github.com/TryGhost/Team/issues/726

- The refed feature got broken during the refactors. Even though this area is covered by unit tests the "this context" testing should probably done on an integration test level, which we don't have a clear pattern for just yet
This commit is contained in:
Naz 2021-07-07 11:29:18 +04:00
parent f08a55c21f
commit 4f73d9ae9d

View file

@ -53,7 +53,7 @@ module.exports = async () => {
ghostVersion: ghostVersion.original
},
request,
sendEmail: ghostMailer.send
sendEmail: ghostMailer.send.bind(ghostMailer)
});
await updateChecker.check();