Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 59e190b commit d6fbb3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/typescript/mit-open-api-axios/src/v0/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, R>(axiosRequestArgs)
Expand Down
2 changes: 1 addition & 1 deletion src/typescript/mit-open-api-axios/src/v1/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, R>(axiosRequestArgs)
Expand Down

0 comments on commit d6fbb3e

Please sign in to comment.