fixed creation file

This commit is contained in:
Alexey Bannov 2023-02-02 13:20:31 +03:00
parent 272c57a1fd
commit 8adde07aea

View File

@ -899,7 +899,7 @@ public class FileStorageService<T> //: IFileStorageService
{
var pathThumb = $"{path}{fileExt.Trim('.')}.{size.Width}x{size.Height}.{_global.ThumbnailExtension}";
if (await storeTemplate.IsFileAsync("", pathThumb))
if (!await storeTemplate.IsFileAsync("", pathThumb))
{
break;
}