Skip to content

Commit

Permalink
fix Bug 71902
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayRechkin committed Dec 2, 2024
1 parent cff1333 commit ebd8963
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions web/ASC.Web.Api/Api/Settings/SettingsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,13 @@ public async Task<SettingsDto> GetSettingsAsync(PortalSettingsrequestDto inDto)
CookieSettingsEnabled = tenantCookieSettings.Enabled,
UserNameRegex = userFormatter.UserNameRegex.ToString(),
ForumLink = await commonLinkUtility.GetUserForumLinkAsync(settingsManager),
DisplayAbout = (!coreBaseSettings.Standalone && !coreBaseSettings.CustomMode) || !(await tenantManager.GetCurrentTenantQuotaAsync()).Branding
DisplayAbout = (!coreBaseSettings.Standalone && !coreBaseSettings.CustomMode) || !(await tenantManager.GetCurrentTenantQuotaAsync()).Branding,
DeepLink = new DeepLinkDto
{
AndroidPackageName = configuration["deeplink:androidpackagename"] ?? "",
Url = configuration["deeplink:url"] ?? "",
IosPackageId = configuration["deeplink:iospackageid"] ?? ""
}
};

if (!authContext.IsAuthenticated && await externalShare.GetLinkIdAsync() != default)
Expand Down Expand Up @@ -142,13 +148,6 @@ public async Task<SettingsDto> GetSettingsAsync(PortalSettingsrequestDto inDto)
DatabaseURL = configuration["firebase:databaseURL"] ?? ""
};

settings.DeepLink = new DeepLinkDto
{
AndroidPackageName = configuration["deeplink:androidpackagename"] ?? "",
Url = configuration["deeplink:url"] ?? "",
IosPackageId = configuration["deeplink:iospackageid"] ?? ""
};

settings.HelpLink = await commonLinkUtility.GetHelpLinkAsync(settingsManager);
settings.ApiDocsLink = configuration["web:api-docs"];

Expand Down

0 comments on commit ebd8963

Please sign in to comment.