forked from ebhomengo/niki
1
0
Fork 0

fix linter error

This commit is contained in:
Abolfazl Nourzad 2024-01-27 13:18:28 +03:30
parent 52f9a4aac2
commit d09d7f068a
Signed by: abolfazl
GPG Key ID: 183534166EB62E0B
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )
//nolint
func BenefactorAuthorization(role entity.UserRole) echo.MiddlewareFunc { func BenefactorAuthorization(role entity.UserRole) echo.MiddlewareFunc {
return func(next echo.HandlerFunc) echo.HandlerFunc { return func(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error { return func(c echo.Context) error {