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 f86c9c3 commit d852530Copy full SHA for d852530
src/request.ts
@@ -113,6 +113,7 @@ export const resolveKyOptions = (): Options => {
113
],
114
beforeRetry: [
115
async (opts) => {
116
+ const apiConfig = (opts.options as any).apiConfig as ApiConfigResolved
117
const isRetry = await apiConfig.beforeRetry(opts)
118
if (isRetry) return
119
throw opts.error
0 commit comments