gohorsejobs/backend/internal/api/middleware
Tiago Yamamoto eae3df7f38 fix(cors): add PATCH to allowed methods
Without PATCH in CORS headers, user update was failing with:
'Method PATCH is not allowed by Access-Control-Allow-Methods'
2025-12-26 00:59:04 -03:00
..
auth_middleware.go debug: add RBAC logging to RequireRoles middleware 2025-12-26 00:42:55 -03:00
auth_middleware_test.go test(auth): add comprehensive auth tests with 98.6% coverage 2025-12-24 16:20:56 -03:00
cors_middleware.go fix(cors): add PATCH to allowed methods 2025-12-26 00:59:04 -03:00
cors_middleware_test.go test(auth): add comprehensive auth tests with 98.6% coverage 2025-12-24 16:20:56 -03:00