Commit 643d6b83 authored by Stefan Dähling's avatar Stefan Dähling
Browse files

fix

parent 45bb580b
Pipeline #413670 passed with stages
in 4 minutes and 43 seconds
......@@ -472,9 +472,9 @@ func (ams *AMS) server(port int) (serv *http.Server) {
s.Path("/clonemap/mas/{masid}/agencies").Methods("GET").HandlerFunc(ams.handleGetAgencies)
s.Path("/clonemap/mas/{masid}/agencies").Methods("PUT", "DELETE", "POST").
HandlerFunc(ams.methodNotAllowed)
s.Path("/clonemap/mas/{masid}/imgroup/{imID}/agency/{agency-id}").Methods("GET").
s.Path("/clonemap/mas/{masid}/imgroup/{imid}/agency/{agencyid}").Methods("GET").
HandlerFunc(ams.handleGetAgencyID)
s.Path("/clonemap/mas/{masid}/imgroup/{imID}/agency/{agency-id}").
s.Path("/clonemap/mas/{masid}/imgroup/{imid}/agency/{agencyid}").
Methods("PUT", "DELETE", "POST").HandlerFunc(ams.methodNotAllowed)
s.PathPrefix("").HandlerFunc(ams.resourceNotFound)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment