From a6bb9aac836bffa0d18092853b5bdf91424b5028 Mon Sep 17 00:00:00 2001 From: NikitaVashchuk Date: Wed, 19 Apr 2023 13:03:01 +0500 Subject: [PATCH] WhitelabelController: GetWhiteLabelLogos: removed notification field from response --- web/ASC.Web.Api/Api/Settings/WhitelabelController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/ASC.Web.Api/Api/Settings/WhitelabelController.cs b/web/ASC.Web.Api/Api/Settings/WhitelabelController.cs index 2eb5e8b664..eb1fccc364 100644 --- a/web/ASC.Web.Api/Api/Settings/WhitelabelController.cs +++ b/web/ASC.Web.Api/Api/Settings/WhitelabelController.cs @@ -164,6 +164,11 @@ public class WhitelabelController : BaseSettingsController foreach (var logoType in (WhiteLabelLogoTypeEnum[])Enum.GetValues(typeof(WhiteLabelLogoTypeEnum))) { + if (logoType == WhiteLabelLogoTypeEnum.Notification) + { + continue; + } + var result = new WhiteLabelItemDto { Name = logoType.ToString(),