diff --git a/src/Foundatio/Storage/ScopedFileStorage.cs b/src/Foundatio/Storage/ScopedFileStorage.cs index 8964e9a8..43f6fc03 100644 --- a/src/Foundatio/Storage/ScopedFileStorage.cs +++ b/src/Foundatio/Storage/ScopedFileStorage.cs @@ -32,7 +32,7 @@ public Task GetFileStreamAsync(string path, StreamMode streamMode, Cance if (String.IsNullOrEmpty(path)) throw new ArgumentNullException(nameof(path)); - return UnscopedStorage.GetFileStreamAsync(String.Concat(_pathPrefix, path), cancellationToken); + return UnscopedStorage.GetFileStreamAsync(String.Concat(_pathPrefix, path), streamMode, cancellationToken); } public async Task GetFileInfoAsync(string path) @@ -126,7 +126,7 @@ private async Task NextPage(PagedFileListResult result) Success = success, HasMore = result.HasMore, Files = result.Files, - NextPageFunc = s => NextPage(result) + NextPageFunc = _ => NextPage(result) }; }