Skip to content

Commit

Permalink
fix: remove duplicate init
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed Dec 11, 2024
1 parent 1019228 commit f113c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export class FetchFactory {
} as any as RawResponseWithMeta;
try {
await FetchFactory.#opaqueLocalStorage.run(internalOpaque, async () => {
res = await UndiciFetch(request, init);
res = await UndiciFetch(request);
});
} catch (e: any) {
updateSocketInfo(socketInfo, internalOpaque, e);
Expand Down

0 comments on commit f113c89

Please sign in to comment.