diff --git a/gateway/server.go b/gateway/server.go index a8429f9c..4d5351d2 100644 --- a/gateway/server.go +++ b/gateway/server.go @@ -119,8 +119,12 @@ func main() { auth.DecorateWithBasicAuth(faasHandlers.ListFunctions, credentials) faasHandlers.ScaleFunction = auth.DecorateWithBasicAuth(faasHandlers.ScaleFunction, credentials) - faasHandlers.QueryFunction = auth.DecorateWithBasicAuth(faasHandlers.QueryFunction, credentials) - faasHandlers.InfoHandler = auth.DecorateWithBasicAuth(faasHandlers.InfoHandler, credentials) + faasHandlers.QueryFunction = + auth.DecorateWithBasicAuth(faasHandlers.QueryFunction, credentials) + faasHandlers.InfoHandler = + auth.DecorateWithBasicAuth(faasHandlers.InfoHandler, credentials) + faasHandlers.AsyncReport = + auth.DecorateWithBasicAuth(faasHandlers.AsyncReport, credentials) } r := mux.NewRouter()