We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6923bbb commit af52cc7Copy full SHA for af52cc7
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java
@@ -598,7 +598,7 @@ private void done(Response resp) {
598
} catch (ClassCastException ex) {
599
// unexpected response type
600
if (responseBody != null) {
601
- callback.invoke("Unexpected FileStorage response file: " + responseBody.string(), null);
+ callback.invoke("Unexpected FileStorage response file: " + responseBody.body().string(), null);
602
} else {
603
callback.invoke("Unexpected FileStorage response with no file.", null);
604
}
0 commit comments