add auth for sbar and adime
This commit is contained in:
@@ -129,8 +129,8 @@ func SetRoutes() http.Handler {
|
|||||||
})
|
})
|
||||||
|
|
||||||
hc.RegCrud(r, "/v1/soapi", auth.GuardMW, soapi.O)
|
hc.RegCrud(r, "/v1/soapi", auth.GuardMW, soapi.O)
|
||||||
hc.RegCrud(r, "/v1/adime", adime.O)
|
hc.RegCrud(r, "/v1/adime", auth.GuardMW, adime.O)
|
||||||
hc.RegCrud(r, "/v1/sbar", sbar.O)
|
hc.RegCrud(r, "/v1/sbar", auth.GuardMW, sbar.O)
|
||||||
hc.RegCrud(r, "/v1/person", person.O)
|
hc.RegCrud(r, "/v1/person", person.O)
|
||||||
hc.RegCrud(r, "/v1/person-address", personaddress.O)
|
hc.RegCrud(r, "/v1/person-address", personaddress.O)
|
||||||
hc.RegCrud(r, "/v1/person-contact", personcontact.O)
|
hc.RegCrud(r, "/v1/person-contact", personcontact.O)
|
||||||
|
|||||||
Reference in New Issue
Block a user