Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 90982bd

Browse files
committed
Add comments
1 parent 7253f5e commit 90982bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ else if(cType.isEmpty()) {
283283

284284
final Request req = builder.build();
285285

286+
// intercept network redirections
286287
clientBuilder.addNetworkInterceptor(new Interceptor() {
287288
@Override
288289
public Response intercept(Chain chain) throws IOException {

src/polyfill/File.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default class File extends Blob {
99

1010
name : string = '';
1111

12-
static build(name:string, data:any, cType):Promise<File> {
12+
static build(name:string, data:any, cType:string):Promise<File> {
1313
return new Promise((resolve, reject) => {
1414
new File(data, cType).onCreated((f) => {
1515
f.name = name

0 commit comments

Comments
 (0)