parent
0ebe8b2527
commit
51c792e94f
|
@ -489,14 +489,14 @@ class UploadService {
|
||||||
uploadPartCount
|
uploadPartCount
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const fileUploadURL = uploadURLs[0];
|
const fileUploadURL = uploadURLs.pop();
|
||||||
fileObjectKey = await this.putFile(
|
fileObjectKey = await this.putFile(
|
||||||
fileUploadURL,
|
fileUploadURL,
|
||||||
file.file.encryptedData,
|
file.file.encryptedData,
|
||||||
file.filename
|
file.filename
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const thumbnailUploadURL = uploadURLs[1];
|
const thumbnailUploadURL = uploadURLs.pop();
|
||||||
thumbnailObjectKey = await this.putFile(
|
thumbnailObjectKey = await this.putFile(
|
||||||
thumbnailUploadURL,
|
thumbnailUploadURL,
|
||||||
file.thumbnail.encryptedData as Uint8Array,
|
file.thumbnail.encryptedData as Uint8Array,
|
||||||
|
|
Loading…
Reference in a new issue