Merge branch 'dev' of github.com:dikstub-rssa/simrs-be into feat/file-generator-169

This commit is contained in:
dpurbosakti
2025-11-25 14:11:22 +07:00
87 changed files with 2656 additions and 269 deletions
@@ -319,7 +319,7 @@ func SetRoutes() http.Handler {
"PATCH /{id}/active": user.O.Active,
})
hc.RegCrud(r, "/v1/user-fes", userfes.O)
hk.GroupRoutes("/v1/patient", r, hk.MapHandlerFunc{
hk.GroupRoutes("/v1/patient", r, auth.GuardMW, hk.MapHandlerFunc{
"GET /": patient.O.GetList,
"GET /{id}": patient.O.GetDetail,
"POST /": patient.O.Create,