Skip to content

Commit

Permalink
fix(request-pipeline): fetch slot input is Request
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Nov 19, 2024
1 parent 8f78882 commit 93aa061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/requestPipeline/extensions/httpTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const httpTransport = Anyware.Extension
})
.step(`exchange`, {
slots: {
fetch: (requestInfo: RequestInfo): MaybePromise<Response> => fetch(requestInfo),
fetch: (request: Request): MaybePromise<Response> => fetch(request),
},
run: async (input, slots) => {
const request = new Request(input.request.url, input.request)
Expand Down

0 comments on commit 93aa061

Please sign in to comment.