Chore: Rename "marketplace" app to "catalog" (#34149)

This commit is contained in:
Ryan McKinley
2021-05-17 08:27:56 -07:00
committed by GitHub
parent 315ca109e1
commit edcefe1c8e
52 changed files with 86 additions and 94 deletions

View File

@@ -284,7 +284,7 @@ func (hs *HTTPServer) registerRoutes() {
apiRoute.Any("/plugins/:pluginId/resources/*", hs.CallResource)
apiRoute.Get("/plugins/errors", routing.Wrap(hs.GetPluginErrorsList))
if hs.Cfg.MarketplaceAppEnabled {
if hs.Cfg.CatalogAppEnabled {
apiRoute.Group("/plugins", func(pluginRoute routing.RouteRegister) {
pluginRoute.Post("/:pluginId/install", bind(dtos.InstallPluginCommand{}), routing.Wrap(hs.InstallPlugin))
pluginRoute.Post("/:pluginId/uninstall", routing.Wrap(hs.UninstallPlugin))