[MM-37494] Check for license SKU when preparing marketplace requests (#18031)

* check for license SKU when preparing marketplace requests

* rename method to HasEnterpriseMarketplacePlugins

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Michael Kochell
2021-08-24 14:37:58 -04:00
коммит произвёл GitHub
родитель 6031b163d8
Коммит eaa37b52ee
2 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@@ -720,7 +720,7 @@ func (s *Server) getBaseMarketplaceFilter() *model.MarketplacePluginFilter {
}
license := s.License()
if license != nil && *license.Features.EnterprisePlugins {
if license != nil && license.HasEnterpriseMarketplacePlugins() {
filter.EnterprisePlugins = true
}