FIX[BE} fixing get all adjustment change respose json

This commit is contained in:
aguhh18
2025-12-11 12:34:13 +07:00
parent 0de2021308
commit c79e35c217
2 changed files with 8 additions and 12 deletions
@@ -14,9 +14,9 @@ func AdjustmentRoutes(v1 fiber.Router, u user.UserService, s adjustment.Adjustme
route := v1.Group("/adjustments")
route.Use(m.Auth(u))
// Standard CRUD routes following master data pattern
route.Get("/", ctrl.AdjustmentHistory) // Get all with pagination and filters
route.Post("/", ctrl.Adjustment) // Create adjustment
route.Get("/", ctrl.AdjustmentHistory)
route.Post("/", ctrl.Adjustment)
route.Get("/:id", ctrl.GetOne)
}