Fix lint error

This commit is contained in:
Alessio 2023-12-31 22:28:07 -06:00
parent ea7492d96b
commit f636883396

View File

@ -41,8 +41,8 @@ func (app *Application) error_500(w http.ResponseWriter, err error) {
r := renderer{ r := renderer{
Filenames: []string{get_filepath("tpl/http_500.tpl")}, Filenames: []string{get_filepath("tpl/http_500.tpl")},
TplName: "error-toast", TplName: "error-toast",
Data: struct{ Data: struct {
ErrorMsg string ErrorMsg string
}{err.Error()}, }{err.Error()},
} }