This repository was archived by the owner on Mar 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/android/src/main/java/com/RNFetchBlob Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public class RNFetchBlobConfig {
20
20
public long timeout = 60000 ;
21
21
public Boolean increment = false ;
22
22
public ReadableArray binaryContentTypes = null ;
23
- public boolean largeFileUpload ;
23
+ public boolean multipartFileUpload ;
24
24
25
25
RNFetchBlobConfig (ReadableMap options ) {
26
26
if (options == null )
@@ -47,7 +47,7 @@ public class RNFetchBlobConfig {
47
47
if (options .hasKey ("timeout" )) {
48
48
this .timeout = options .getInt ("timeout" );
49
49
}
50
- this .largeFileUpload = options .hasKey ("largeFileUpload " ) ? options .getBoolean ("largeFileUpload " ) : false ;
50
+ this .multipartFileUpload = options .hasKey ("multipartFileUpload " ) ? options .getBoolean ("multipartFileUpload " ) : false ;
51
51
}
52
52
53
53
}
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public void run() {
167
167
168
168
}
169
169
170
- if (this .options .largeFileUpload ) {
170
+ if (this .options .multipartFileUpload ) {
171
171
HashMap <String , String > mheaders = new HashMap <>();
172
172
// set headers
173
173
if (headers != null ) {
You can’t perform that action at this time.
0 commit comments