You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,24 +276,24 @@ const data: any = {
276
276
type: [File.type], // type property of the current file to upload
277
277
sha256Checksum?: [checksum] // generated only if config.addChecksum === true
278
278
},
279
-
file: [File], //the file object to upload which is the binary data. For a file upload, it's the file itself and for chunks upload, it's the chunk part split as the sequence described below.
279
+
[additionalFormData.fieldName]?: [additionalFormData.data], //generated only if `additionalFormData` object is passed in parameter of the upload method
280
280
chunkData?: { // generated only if config.useChunks === true
281
281
sequence: [number], // the current chunk number
282
282
totalChunks: [number], // the total number of chunks
283
283
startByte: [number], // the start byte number of the chunk
284
284
endByte: [number] // the end byte number of the chunk
285
285
},
286
-
[additionalFormData.fieldName]?: [additionalFormData.data]//generated only if `additionalFormData` object is passed in parameter of the upload method
286
+
file: [File],//the file object to upload which is the binary data. For a file upload, it's the file itself and for chunks upload, it's the chunk part split as the sequence described in chunkData
0 commit comments