fix(snjs): pass unencrypted file size to comply with file service interface (#1595)
This commit is contained in:
@@ -53,7 +53,7 @@ describe('files', function () {
|
||||
})
|
||||
|
||||
const uploadFile = async (fileService, buffer, name, ext, chunkSize) => {
|
||||
const operation = await fileService.beginNewFileUpload()
|
||||
const operation = await fileService.beginNewFileUpload(buffer.byteLength)
|
||||
|
||||
let chunkId = 1
|
||||
for (let i = 0; i < buffer.length; i += chunkSize) {
|
||||
|
||||
Reference in New Issue
Block a user