Use async overload

This commit is contained in:
Stepan Goremykin
2023-10-08 00:17:48 +02:00
parent 0870af330d
commit a37dc3da96
3 changed files with 9 additions and 9 deletions

View File

@@ -2858,7 +2858,7 @@ namespace Emby.Server.Implementations.Library
{
var path = Path.Combine(virtualFolderPath, collectionType.ToString().ToLowerInvariant() + ".collection");
File.WriteAllBytes(path, Array.Empty<byte>());
await File.WriteAllBytesAsync(path, Array.Empty<byte>()).ConfigureAwait(false);
}
CollectionFolder.SaveLibraryOptions(virtualFolderPath, options);