fix: reset user password subscription in sendgrid plugin (#1072)

* fixed reset password subscription

* cleanup
This commit is contained in:
Kasper Fabricius Kristensen
2022-02-21 19:52:03 +01:00
committed by olivermrbl
parent 73359a632b
commit 91263fbc8e

View File

@@ -5,9 +5,10 @@ class UserSubscriber {
this.eventBus_ = eventBusService
this.eventBus_.subscribe("user.password_reset", async (data) => {
await this.sendgridService_.transactionalEmail(
await this.sendgridService_.sendNotification(
"user.password_reset",
data
data,
null
)
})
}