Skip to content

Commit bd420ac

Browse files
committed
fix: handling shouldRetryOnError properly
1 parent f715991 commit bd420ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema-to-typescript/common/core/common-http-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ export class CommonHttpClient {
983983
}
984984
}
985985
if (!fetchResponse.ok) {
986-
return this.handleRedirect(
986+
return await this.handleRedirect(
987987
new this.options.errorClass(
988988
url,
989989
fetchRequest,

0 commit comments

Comments
 (0)