refactor: refactoring notification service to use new service registry hooks
This commit is contained in:
1 parent
28f7b6dad1
commit
df71fe33fd
7 files changed
+93
-111
No files matched your search
@@ -60,7 +60,9 @@ func AddOrgInvite(c *m.ReqContext, inviteDto dtos.AddInviteForm) Response {
|
||||
}
|
||||
|
||||
// send invite email
|
||||
c.Logger.Error("sending?")
|
||||
if inviteDto.SendEmail && util.IsEmail(inviteDto.LoginOrEmail) {
|
||||
c.Logger.Error("yes sending?")
|
||||
emailCmd := m.SendEmailCommand{
|
||||
To: []string{inviteDto.LoginOrEmail},
|
||||
Template: "new_user_invite.html",
|
||||
|
||||
Reference in new issue
Block a user