diff --git a/app/http/middleware/validate_post_size.go b/app/http/middleware/validate_post_size.go index 7c36263..723034e 100644 --- a/app/http/middleware/validate_post_size.go +++ b/app/http/middleware/validate_post_size.go @@ -9,7 +9,7 @@ type ValidatePostSize struct { App foundation.Application } -func (v ValidatePostSize) Handle(data inter.Request, next inter.MiddlewareDestination) inter.Response { +func (v ValidatePostSize) Handle(request inter.Request, next inter.MiddlewareDestination) inter.Response { // todo validate - return next(data) + return next(request) } diff --git a/config/generics/generics.go b/config/generics/generics.go index f668f30..3720162 100644 --- a/config/generics/generics.go +++ b/config/generics/generics.go @@ -4,8 +4,8 @@ package generics import ( "github.com/lanvard/foundation/http" - "github.com/lanvard/foundation/http/outcome" "github.com/lanvard/pipeline" + "github.com/lanvard/routing/outcome" "lanvard/config" ) diff --git a/src/controllers/user_controller.go b/src/controllers/user_controller.go index 8f77a21..5957a00 100644 --- a/src/controllers/user_controller.go +++ b/src/controllers/user_controller.go @@ -2,7 +2,7 @@ package controllers import ( "github.com/lanvard/contract/inter" - "github.com/lanvard/foundation/http/outcome" + "github.com/lanvard/routing/outcome" "lanvard/src/adapters" )