PublicDashboards: Middleware creation (#77941)

This commit is contained in:
Juan Cabanas
2023-11-21 17:56:36 -03:00
committed by GitHub
parent a3576fc8cf
commit 9c5daed336
8 changed files with 81 additions and 8 deletions
@@ -58,7 +58,7 @@ func setupTestServer(
// build api, this will mount the routes at the same time if
// featuremgmt.FlagPublicDashboard is enabled
ProvideApi(service, rr, ac, features)
ProvideApi(service, rr, ac, features, &Middleware{})
// connect routes to mux
rr.Register(m.Router)