fix wrong variable

This commit is contained in:
Adrian Zürcher
2026-01-08 09:42:27 +01:00
parent 57fa355a6f
commit 107352787c

View File

@@ -41,7 +41,7 @@ func (tb *TemplateBuilder) Generate(templatePath string, data any) (b []byte, er
}
var buf bytes.Buffer
err = tmpl.Execute(&buf, d)
err = tmpl.Execute(&buf, data)
if err != nil {
return
}