mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 10:55:27 +00:00
refactor(s3): add await to writer.write for stream chunk writes
This commit is contained in:
@@ -300,7 +300,7 @@ export class LocalStorageService implements S3Service {
|
||||
const { done, value } = await reader.read()
|
||||
if (done) break
|
||||
if (value) {
|
||||
writer.write(value)
|
||||
await writer.write(value)
|
||||
}
|
||||
}
|
||||
await writer.end()
|
||||
|
||||
Reference in New Issue
Block a user