forked from FarmMaps/FarmMapsApiClient
fix uploading
This commit is contained in:
@@ -68,10 +68,7 @@ namespace FarmmapsApi.Services
|
||||
contentStream.ThrowIfNull(nameof(contentStream));
|
||||
|
||||
_streamLength = ContentStream.CanSeek ? ContentStream.Length : UnknownSize;
|
||||
|
||||
var twoMB = 2 * 0x100000;
|
||||
ChunkSize = twoMB;
|
||||
body.ChunkSize = ChunkSize;
|
||||
ChunkSize = 2 * 0x100000;
|
||||
Body = body;
|
||||
|
||||
Path = path;
|
||||
|
Reference in New Issue
Block a user