|
@@ -68,7 +68,7 @@ class RNFetchBlobBody extends RequestBody{
|
68
|
68
|
try {
|
69
|
69
|
switch (requestType) {
|
70
|
70
|
case SingleFile:
|
71
|
|
- requestStream = getReuqestStream();
|
|
71
|
+ requestStream = getRequestStream();
|
72
|
72
|
contentLength = requestStream.available();
|
73
|
73
|
break;
|
74
|
74
|
case AsIs:
|
|
@@ -135,7 +135,7 @@ class RNFetchBlobBody extends RequestBody{
|
135
|
135
|
return true;
|
136
|
136
|
}
|
137
|
137
|
|
138
|
|
- private InputStream getReuqestStream() throws Exception {
|
|
138
|
+ private InputStream getRequestStream() throws Exception {
|
139
|
139
|
|
140
|
140
|
// upload from storage
|
141
|
141
|
if (rawBody.startsWith(RNFetchBlobConst.FILE_PREFIX)) {
|