Skip to content

Commit

Permalink
chore: update api params string (#83)
Browse files Browse the repository at this point in the history
Because

- update api params string

This commit

- update api params string
  • Loading branch information
iamnamananand996 authored May 24, 2024
1 parent ab45893 commit 714cec0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/connector/ConnectorClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ConnectorClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/vdp/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/metric/MetricClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MetricClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/core/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/mgmt/AuthClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AuthClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/core/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/model/ModelClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ModelClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/model/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/operation/OperationClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class OperationClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/model/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/organization/OrganizationClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class OrganizationClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/core/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/PipelineClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class PipelineClient {
private axiosInstance: AxiosInstance;

constructor(baseUrl: string, appVersion: string, apiToken: string) {
const URL: Nullable<string> = `${baseUrl}/vdp/${appVersion}`;
const URL: Nullable<string> = `${baseUrl}/${appVersion}`;

this.axiosInstance = axios.create({
baseURL: URL,
Expand Down

0 comments on commit 714cec0

Please sign in to comment.