fix(emailApi): wrong email template
Build and Push Docker image / build-and-push (push) Successful in 2m3s
Details
Build and Push Docker image / build-and-push (push) Successful in 2m3s
Details
This commit is contained in:
parent
1f8ff8afe9
commit
beea0ca329
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue