todo
This commit is contained in:
parent
2833750049
commit
4880b37767
@ -137,6 +137,7 @@ var pathCheckMap = map[string]func(*OwnerShip, *fiber.Ctx) (bool, error){
|
||||
"PUT /account/account/leadtarget": (*OwnerShip).CheckLeadTarget,
|
||||
}
|
||||
|
||||
// todo подключить проверить
|
||||
func OwnerShipMiddleware(o *OwnerShip) fiber.Handler {
|
||||
return func(c *fiber.Ctx) error {
|
||||
methodPath := fmt.Sprintf("%s %s", c.Method(), c.Path())
|
||||
|
Loading…
Reference in New Issue
Block a user