mirror of
https://github.com/zhigang1992/mtcute.git
synced 2026-04-29 12:45:07 +08:00
fix(core): download chunk request lack lack of adding offset
This commit is contained in:
committed by
alina sireneva
parent
09605d8bae
commit
ad1c842a5e
@@ -156,7 +156,7 @@ export async function* downloadAsIterable(
|
||||
_: isWeb ? 'upload.getWebFile' : 'upload.getFile',
|
||||
// eslint-disable-next-line
|
||||
location: location as any,
|
||||
offset: chunkSize * chunk,
|
||||
offset: offset + chunkSize * chunk,
|
||||
limit: chunkSize,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user