bump deps

This commit is contained in:
Zoe
2025-03-14 01:15:59 -05:00
parent a779fcb111
commit 0c983e7c27
5 changed files with 58 additions and 23 deletions

View File

@@ -634,7 +634,7 @@ func main() {
var req struct {
Name string `form:"name"`
}
if err := c.Bind().MultipartForm(&req); err != nil {
if err := c.Bind().Form(&req); err != nil {
return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{
"message": "Failed to parse request",
})
@@ -698,7 +698,7 @@ func main() {
URL string `form:"url"`
CategoryID int64 `form:"category_id"`
}
if err := c.Bind().MultipartForm(&req); err != nil {
if err := c.Bind().Form(&req); err != nil {
return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{
"message": "Failed to parse request",
})