diff --git a/Bynder/Sdk/Service/Asset/AssetService.cs b/Bynder/Sdk/Service/Asset/AssetService.cs index 049b6ed..3f33900 100644 --- a/Bynder/Sdk/Service/Asset/AssetService.cs +++ b/Bynder/Sdk/Service/Asset/AssetService.cs @@ -151,7 +151,7 @@ public async Task UploadFileAsync(UploadQuery query) /// Check for more information /// Check for more information /// Check for more information - public async Task UploadFileAsync(FileStream fileStream, UploadQuery query) + public async Task UploadFileAsync(Stream fileStream, UploadQuery query) { return await _uploader.UploadFileAsync(fileStream, query).ConfigureAwait(false); } diff --git a/Bynder/Sdk/Service/Asset/IAssetService.cs b/Bynder/Sdk/Service/Asset/IAssetService.cs index ca087fd..baec53c 100644 --- a/Bynder/Sdk/Service/Asset/IAssetService.cs +++ b/Bynder/Sdk/Service/Asset/IAssetService.cs @@ -92,7 +92,7 @@ public interface IAssetService /// Can be thrown when requests to server can't be completed or HTTP code returned by server is an error /// Can be thrown when upload does not finish within expected time - Task UploadFileAsync(FileStream fileStream, UploadQuery query); + Task UploadFileAsync(Stream fileStream, UploadQuery query); ///