Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ private void done(Response resp) {
} catch (ClassCastException ex) {
// unexpected response type
if (responseBody != null) {
callback.invoke("Unexpected FileStorage response file: " + responseBody.string(), null);
callback.invoke("Unexpected FileStorage response file: " + responseBody.body().string(), null);
} else {
callback.invoke("Unexpected FileStorage response with no file.", null);
}
Expand Down