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 {
2020 public long timeout = 60000 ;
2121 public Boolean increment = false ;
2222 public ReadableArray binaryContentTypes = null ;
23- public boolean largeFileUpload ;
23+ public boolean multipartFileUpload ;
2424
2525 RNFetchBlobConfig (ReadableMap options ) {
2626 if (options == null )
@@ -47,7 +47,7 @@ public class RNFetchBlobConfig {
4747 if (options .hasKey ("timeout" )) {
4848 this .timeout = options .getInt ("timeout" );
4949 }
50- this .largeFileUpload = options .hasKey ("largeFileUpload " ) ? options .getBoolean ("largeFileUpload " ) : false ;
50+ this .multipartFileUpload = options .hasKey ("multipartFileUpload " ) ? options .getBoolean ("multipartFileUpload " ) : false ;
5151 }
5252
5353}
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public void run() {
167167
168168 }
169169
170- if (this .options .largeFileUpload ) {
170+ if (this .options .multipartFileUpload ) {
171171 HashMap <String , String > mheaders = new HashMap <>();
172172 // set headers
173173 if (headers != null ) {
You can’t perform that action at this time.
0 commit comments