From d6fbb3e40442027620b3806b16a202e956a3a807 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 23:14:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/typescript/mit-open-api-axios/src/v0/common.ts | 2 +- src/typescript/mit-open-api-axios/src/v1/common.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/typescript/mit-open-api-axios/src/v0/common.ts b/src/typescript/mit-open-api-axios/src/v0/common.ts index 6297706..288593a 100644 --- a/src/typescript/mit-open-api-axios/src/v0/common.ts +++ b/src/typescript/mit-open-api-axios/src/v0/common.ts @@ -194,7 +194,7 @@ export const createRequestFunction = function ( const axiosRequestArgs = { ...axiosArgs.options, url: - (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + + (axios.defaults.baseURL ? "" : (configuration?.basePath ?? basePath)) + axiosArgs.url, } return axios.request(axiosRequestArgs) diff --git a/src/typescript/mit-open-api-axios/src/v1/common.ts b/src/typescript/mit-open-api-axios/src/v1/common.ts index 2e98b41..4035a4f 100644 --- a/src/typescript/mit-open-api-axios/src/v1/common.ts +++ b/src/typescript/mit-open-api-axios/src/v1/common.ts @@ -194,7 +194,7 @@ export const createRequestFunction = function ( const axiosRequestArgs = { ...axiosArgs.options, url: - (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + + (axios.defaults.baseURL ? "" : (configuration?.basePath ?? basePath)) + axiosArgs.url, } return axios.request(axiosRequestArgs)