fix: move tariff/getList higher to avoid /tariff/:id mistale
This commit is contained in:
parent
123be7da57
commit
e856662cb8
@ -3,8 +3,8 @@ package tariff_internal
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func (t *TariffInternal) Register(router fiber.Router) {
|
||||
router.Get("/:id", t.Get)
|
||||
router.Get("/getList", t.GetList)
|
||||
router.Get("/:id", t.Get)
|
||||
router.Post("/", t.Create)
|
||||
router.Delete("/", t.Delete)
|
||||
router.Put("/:id", t.Update)
|
||||
|
Loading…
Reference in New Issue
Block a user