fix: reset user password subscription in sendgrid plugin (#1072)
* fixed reset password subscription * cleanup
This commit is contained in:
committed by
olivermrbl
parent
73359a632b
commit
91263fbc8e
@@ -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
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user