UPDATE: Fix bug
All checks were successful
Build and Release / release (push) Successful in 1m8s

This commit is contained in:
2026-04-28 09:56:41 +07:00
parent b168a343be
commit a92fc4bf3b
3 changed files with 26 additions and 13 deletions

View File

@@ -79,6 +79,7 @@ func ProjectRoutes(
route.Get(
"/",
middlewares.JwtAccess(userRepo),
middlewares.RequireAnyRole(constants.RoleTypeAdmin, constants.RoleTypeMod),
controller.SearchProject,
)