feat(template): add name to the template definition
build / Go-Build (push) Successful in 3m1s
build / Go-Build (pull_request) Successful in 1m27s

This commit is contained in:
2026-05-26 14:47:03 +02:00
parent 20cb740eb6
commit 633859cabe
8 changed files with 102 additions and 12 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ func CreateSVG(writer http.ResponseWriter, r *http.Request) {
return
}
data, err := actions.Create(readsvg)
name := r.URL.Query().Get("name")
data, err := actions.Create(readsvg, name)
if err != nil {
http.Error(writer, err.Error(), http.StatusInternalServerError)