Add Templates to pretty config

This commit is contained in:
Nikolai Rodionov 2024-05-10 12:53:00 +02:00
parent f68aab6aa7
commit 113ed8919a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -120,7 +120,7 @@ func (app *Application) Create(ctx context.Context) error {
panic(err)
}
var tmplRes bytes.Buffer
if err := tmpl.Execute(&tmplRes, tmpl); err != nil {
if err := tmpl.Execute(&tmplRes, app.Data); err != nil {
return err
}