mirror of
https://github.com/appwrite/sdk-for-flutter.git
synced 2026-04-07 19:27:41 +00:00
test flutter web chunked upload issue
This commit is contained in:
@@ -156,7 +156,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
|
||||
|
||||
while (offset < size) {
|
||||
var chunk;
|
||||
final end = min(offset + CHUNK_SIZE-1, size-1);
|
||||
final end = min(offset + CHUNK_SIZE, size);
|
||||
chunk = file.bytes!.getRange(offset, end).toList();
|
||||
params[paramName] =
|
||||
http.MultipartFile.fromBytes(paramName, chunk, filename: file.filename);
|
||||
|
||||
Reference in New Issue
Block a user