Skip to content

Commit dcd3aaa

Browse files
committed
Fix RNFetchBlobBody#getRequestStream method name
1 parent 1f9a176 commit dcd3aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ RNFetchBlobBody setBody(String body) {
6868
try {
6969
switch (requestType) {
7070
case SingleFile:
71-
requestStream = getReuqestStream();
71+
requestStream = getRequestStream();
7272
contentLength = requestStream.available();
7373
break;
7474
case AsIs:
@@ -135,7 +135,7 @@ boolean clearRequestBody() {
135135
return true;
136136
}
137137

138-
private InputStream getReuqestStream() throws Exception {
138+
private InputStream getRequestStream() throws Exception {
139139

140140
// upload from storage
141141
if (rawBody.startsWith(RNFetchBlobConst.FILE_PREFIX)) {

0 commit comments

Comments
 (0)