fix: reset user password subscription in sendgrid plugin (#1072)
* fixed reset password subscription * cleanup
This commit is contained in:
@@ -5,9 +5,10 @@ class UserSubscriber {
|
|||||||
this.eventBus_ = eventBusService
|
this.eventBus_ = eventBusService
|
||||||
|
|
||||||
this.eventBus_.subscribe("user.password_reset", async (data) => {
|
this.eventBus_.subscribe("user.password_reset", async (data) => {
|
||||||
await this.sendgridService_.transactionalEmail(
|
await this.sendgridService_.sendNotification(
|
||||||
"user.password_reset",
|
"user.password_reset",
|
||||||
data
|
data,
|
||||||
|
null
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user