Skip to content

Commit

Permalink
Update packages/api-client/src/http/HttpClient.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Przemysław Jóźwik <[email protected]>
  • Loading branch information
thisisamir98 and przemvs authored Oct 10, 2024
1 parent 44fee65 commit 6768d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-client/src/http/HttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ type SendRequest = {
'Content-Encoding': shouldGzipData ? 'gzip' : config.headers?.['Content-Encoding'],
};

return this.sendRequest<T>(config, isSynchronousRequest, abortController);
return this.sendRequest<T>({config, isFirstTry: isSynchronousRequest, abortController});
}

public sendXML<T>(config: AxiosRequestConfig): Promise<AxiosResponse<T>> {
Expand Down

0 comments on commit 6768d8f

Please sign in to comment.