feat: add form_post method

This commit is contained in:
Lakhan Samani
2022-10-16 20:46:54 +05:30
parent ff805e3ef2
commit 2bd92d6028
4 changed files with 118 additions and 77 deletions

View File

@@ -85,7 +85,7 @@ func ForgotPasswordResolver(ctx context.Context, params model.ForgotPasswordInpu
return res, err
}
// exec it as go routine so that we can reduce the api latency
// execute it as go routine so that we can reduce the api latency
go email.SendEmail([]string{params.Email}, constants.VerificationTypeForgotPassword, map[string]interface{}{
"user": user.ToMap(),
"organization": utils.GetOrganization(),