diff --git a/common/services/ASC.Data.Backup/Api/BackupController.cs b/common/services/ASC.Data.Backup/Api/BackupController.cs index 8e4af47c0d..7a2ba7c43d 100644 --- a/common/services/ASC.Data.Backup/Api/BackupController.cs +++ b/common/services/ASC.Data.Backup/Api/BackupController.cs @@ -197,6 +197,7 @@ public class BackupController : ControllerBase /// Backup /// Restore Progress [HttpGet("getrestoreprogress")] //NOTE: this method doesn't check payment!!! + [AllowAnonymous] [AllowNotPayment] public BackupProgress GetRestoreProgress() { diff --git a/common/services/ASC.Data.Backup/GlobalUsings.cs b/common/services/ASC.Data.Backup/GlobalUsings.cs index 31b64b4376..90030ba42a 100644 --- a/common/services/ASC.Data.Backup/GlobalUsings.cs +++ b/common/services/ASC.Data.Backup/GlobalUsings.cs @@ -43,7 +43,7 @@ global using ASC.Web.Api.Routing; global using ASC.Web.Studio.Core.Backup; global using ASC.Web.Studio.Core.Notify; global using ASC.Web.Studio.Utility; - +global using Microsoft.AspNetCore.Authorization; global using Autofac; global using Microsoft.AspNetCore.Http.Features;