Skip to content

Commit

Permalink
Pass context to fetch in json-schema loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dr3 committed Aug 11, 2022
1 parent c61546c commit 2c26a02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ ${operationConfig.description || ''}
method: httpMethod,
});
}
const response = await fetch(fullPath, requestInit);
const response = await fetch(fullPath, requestInit, context);
// If return type is a file
if (field.type.getTypeName() === 'File') {
return response.blob();
Expand Down

0 comments on commit 2c26a02

Please sign in to comment.