fix 57223

This commit is contained in:
pavelbannov 2022-05-24 15:22:25 +03:00
parent 907d92fcb6
commit 3ce78ed5a8

View File

@ -104,7 +104,7 @@ namespace ASC.Web.Files.Services.WCFService.FileOperations
stream.Position = 0;
string fileName = FileConstant.DownloadTitle + archiveExtension;
var store = globalStore.GetStore();
var path = string.Format(@"{0}\{1}", ((IAccount)Thread.CurrentPrincipal.Identity).ID, fileName);
var path = string.Format(@"{0}\{1}", ((IAccount)principal.Identity).ID, fileName);
if (await store.IsFileAsync(FileConstant.StorageDomainTmp, path))
{