Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dvasilas committed Nov 26, 2024
1 parent 615a9be commit 796d45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export const ScubaApiFp = function (configuration?: Configuration) {
body: GetMetricsBatchBody,
options?: AxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetrics(metricsClass, body, options);
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetricsBatch(metricsClass, body, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -503,7 +503,7 @@ export class ScubaApi extends BaseAPI {
*/
public getMetricsBatch(metricsClass: MetricsClass, body: GetMetricsBatchBody, options?: AxiosRequestConfig) {
return ScubaApiFp(this.configuration)
.getMetrics(metricsClass, body, options)
.getMetricsBatch(metricsClass, body, options)
.then(request => request(this.axios, this.basePath));
}

Expand Down

0 comments on commit 796d45b

Please sign in to comment.