chore: updated files - work save

This commit is contained in:
Marcel_Henselin 2026-01-21 16:29:22 +01:00
parent 51663cd8d0
commit e91e10e29a
37 changed files with 1121 additions and 118 deletions

View file

@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error {
if err != nil {
return err
}
err = file.Close()
if err != nil {
return err
}
defer file.Close()
part, err := w.CreateFormFile(fieldName, filepath.Base(path))
if err != nil {