[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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6031b163d8
Коммит
eaa37b52ee
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user