fix(emailApi): wrong email template
Build and Push Docker image / build-and-push (push) Successful in 2m3s Details

This commit is contained in:
Valentin Kolb 2024-10-24 19:21:50 +02:00
parent 1f8ff8afe9
commit beea0ca329
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func sendEmailToUser(app *pocketbase.PocketBase, registry *template.Registry, re
// render email template // render email template
html, err := registry.LoadFiles( html, err := registry.LoadFiles(
"html/emailNotification.html", "html/blankEmail.html",
).Render(map[string]any{ ).Render(map[string]any{
"APP_URL": app.Settings().Meta.AppUrl, "APP_URL": app.Settings().Meta.AppUrl,
"SENDER": sender.Username(), "SENDER": sender.Username(),