fix collection api.

This commit is contained in:
2025-07-31 15:07:05 +08:00
parent 724f96beb8
commit 1e5b12f531
2 changed files with 13 additions and 13 deletions

View File

@@ -66,6 +66,7 @@ func ErrorHandler(c fiber.Ctx) error {
})
}
}
log.Error("Internal Server Error: ", err)
return c.Status(fiber.StatusInternalServerError).JSON(model.Response[any]{
Success: false,
Data: nil,