template-names-fix

This commit is contained in:
Untone 2024-01-05 16:44:37 +03:00
parent dd4b41674a
commit 5af71dfc94

View File

@ -68,9 +68,9 @@ func SendMailgun(to []string, event string, data map[string]interface{}) error {
switch event { switch event {
case constants.VerificationTypeBasicAuthSignup: case constants.VerificationTypeBasicAuthSignup:
template = "email_confirmation" template = "email_confirmation_ru"
case constants.VerificationTypeForgotPassword: case constants.VerificationTypeForgotPassword:
template = "reset_password" template = "password_reset"
case constants.VerificationTypeInviteMember: case constants.VerificationTypeInviteMember:
template = "author_invited" template = "author_invited"
case constants.VerificationTypeMagicLinkLogin: case constants.VerificationTypeMagicLinkLogin: