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 d860411 commit ac99885Copy full SHA for ac99885
templates/base/http-clients/fetch-http-client.ejs
@@ -189,7 +189,7 @@ export class HttpClient<SecurityDataType = unknown> {
189
body: typeof body === "undefined" || body === null ? null : payloadFormatter(body),
190
}
191
).then(async (response) => {
192
- const r = response as HttpResponse<T, E>;
+ const r = response.clone() as HttpResponse<T, E>;
193
r.data = (null as unknown) as T;
194
r.error = (null as unknown) as E;
195
0 commit comments