Automated build '' typescript-axios sdk: 4638889339

This commit is contained in:
GitHub Action Bot
2023-04-07 14:21:19 +00:00
parent bc037dd491
commit e7c4df7bab
19 changed files with 528 additions and 528 deletions

View File

@@ -13,7 +13,7 @@
*/
import { Configuration } from "../configuration";
import { Configuration } from "./configuration";
// Some imports not used depending on template conditions
// @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
@@ -52,7 +52,7 @@ export class BaseAPI {
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
if (configuration) {
this.configuration = configuration;
this.basePath = configuration.basePathV3 || this.basePath;
this.basePath = configuration.basePath || this.basePath;
}
}
};