Skip to content

Commit

Permalink
Fix #531 Update service read idp api public
Browse files Browse the repository at this point in the history
  • Loading branch information
albinpa authored and georgepadayatti committed Nov 13, 2023
1 parent 5e2dcb7 commit 3c9e1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http_path/v2/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func SetRoutes(r *mux.Router, e *casbin.Enforcer) {
r.Handle(ServiceListDataAgreements, m.Chain(serviceHandler.ServiceListDataAgreements, m.Logger(), m.Authorize(e), m.SetApplicationMode(), m.Authenticate(), m.AddContentType())).Methods("GET")

// Read an idp
r.Handle(ServiceReadIdp, m.Chain(serviceHandler.ServiceReadIdp, m.Logger(), m.Authorize(e), m.SetApplicationMode(), m.Authenticate(), m.AddContentType())).Methods("GET")
r.Handle(ServiceReadIdp, m.Chain(serviceHandler.ServiceReadIdp, m.Logger(), m.SetApplicationMode(), m.AddContentType())).Methods("GET")

// Policy
r.Handle(ServiceReadPolicy, m.Chain(serviceHandler.ServiceReadPolicy, m.Logger(), m.Authorize(e), m.SetApplicationMode(), m.Authenticate(), m.AddContentType())).Methods("GET")
Expand Down

0 comments on commit 3c9e1d1

Please sign in to comment.