files.com 1.0.290 → 1.0.291
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/package.json +1 -1
- package/src/models/File.js +2 -2
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.291
|
package/package.json
CHANGED
package/src/models/File.js
CHANGED
@@ -120,7 +120,7 @@ class File {
|
|
120
120
|
const buffer = Buffer.concat(chunks)
|
121
121
|
const nextFileUploadPart = await File._continueUpload(destinationPath, ++part, firstFileUploadPart, options)
|
122
122
|
|
123
|
-
const upload_uri =
|
123
|
+
const upload_uri = this._determinePartUploadUri(nextFileUploadPart)
|
124
124
|
const uploadPromise = Api.sendFilePart(upload_uri, 'PUT', buffer)
|
125
125
|
|
126
126
|
if (firstFileUploadPart.parallel_parts) {
|
@@ -148,7 +148,7 @@ class File {
|
|
148
148
|
const buffer = Buffer.concat(chunks)
|
149
149
|
const nextFileUploadPart = await File._continueUpload(destinationPath, ++part, firstFileUploadPart, options)
|
150
150
|
|
151
|
-
const upload_uri =
|
151
|
+
const upload_uri = this._determinePartUploadUri(nextFileUploadPart)
|
152
152
|
concurrentUploads.push(Api.sendFilePart(upload_uri, 'PUT', buffer))
|
153
153
|
}
|
154
154
|
|