better map merge

This commit is contained in:
Mikaël Cluseau
2019-04-19 17:07:22 +01:00
parent a1fcd4093c
commit ee2779cc9d
2 changed files with 17 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import (
)
func registerWS(rest *restful.Container) {
// Admin API
// Admin-level APIs
ws := &restful.WebService{}
ws.Filter(adminAuth).
HeaderParameter("Authorization", "Admin bearer token")