Skip to content

Commit e37e4e3

Browse files
committed
Checkout fetch
1 parent 436406d commit e37e4e3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Fetch.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,13 @@ class Fetch {
145145
});
146146

147147
this._streamController = streamController;
148+
this._stream = stream;
148149
this._responseStatus = status;
149150
this._nativeResponseHeaders = headers;
150151
this._responseUrl = url;
151152

152153
if (this._nativeResponseType === "text") {
153-
this._response = new Response(stream, {
154-
status,
155-
headers,
156-
url,
157-
});
154+
this._response = new Response(stream, { status, headers, url });
158155
this._deferredPromise.resolve(this._response);
159156
}
160157
}

0 commit comments

Comments
 (0)