Added allow anonymous attribute.

This commit is contained in:
Tatiana Lopaeva 2023-01-24 17:08:55 +03:00
parent 31fd0c4acf
commit 255b54b169
2 changed files with 2 additions and 1 deletions

View File

@ -197,6 +197,7 @@ public class BackupController : ControllerBase
/// <category>Backup</category>
/// <returns>Restore Progress</returns>
[HttpGet("getrestoreprogress")] //NOTE: this method doesn't check payment!!!
[AllowAnonymous]
[AllowNotPayment]
public BackupProgress GetRestoreProgress()
{

View File

@ -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;