mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
fix: add fetchRetryOptions in SupersetClientClass.request method (#867)
Co-authored-by: mario.scriminaci <mario.scriminaci+jira@contentwise.com>
This commit is contained in:
parent
05f335477d
commit
b96586b0a9
@ -126,6 +126,7 @@ export default class SupersetClientClass {
|
||||
url,
|
||||
headers,
|
||||
timeout,
|
||||
fetchRetryOptions,
|
||||
...rest
|
||||
}: RequestConfig & { parseMethod?: T }) {
|
||||
await this.ensureAuth();
|
||||
@ -136,6 +137,7 @@ export default class SupersetClientClass {
|
||||
url: this.getUrl({ endpoint, host, url }),
|
||||
headers: { ...this.headers, ...headers },
|
||||
timeout: timeout ?? this.timeout,
|
||||
fetchRetryOptions: fetchRetryOptions ?? this.fetchRetryOptions,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user