account page: can now reorder entries under shops sections by drag and drop

This commit is contained in:
2026-01-26 13:51:40 -07:00
parent a2d8993e0e
commit a50c0ef18d
14 changed files with 682 additions and 88 deletions
+6
View File
@@ -1,6 +1,7 @@
package response
import (
"errors"
"fmt"
"io"
"net/http"
@@ -45,6 +46,11 @@ func HandleErrors(c *gin.Context) {
}
}
if !ok {
var err error
for _, e := range c.Errors {
err = errors.Join(err, e)
}
c.String(http.StatusInternalServerError, err.Error())
return
}