Browse Source

Fix typo: "Status" instead of "Statu"

Simon Knott 6 years ago
parent
commit
853fed3679
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

+ 1
- 1
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java View File

668
                     // #297 handle failed request
668
                     // #297 handle failed request
669
                     int statusCode = c.getInt(c.getColumnIndex(DownloadManager.COLUMN_STATUS));
669
                     int statusCode = c.getInt(c.getColumnIndex(DownloadManager.COLUMN_STATUS));
670
                     if(statusCode == DownloadManager.STATUS_FAILED) {
670
                     if(statusCode == DownloadManager.STATUS_FAILED) {
671
-                        this.callback.invoke("Download manager failed to download from  " + this.url + ". Statu Code = " + statusCode, null, null);
671
+                        this.callback.invoke("Download manager failed to download from  " + this.url + ". Status Code = " + statusCode, null, null);
672
                         return;
672
                         return;
673
                     }
673
                     }
674
                     String contentUri = c.getString(c.getColumnIndex(DownloadManager.COLUMN_LOCAL_URI));
674
                     String contentUri = c.getString(c.getColumnIndex(DownloadManager.COLUMN_LOCAL_URI));