Skip to content

Commit

Permalink
chore: adapt new core structure among instill-ai project (#40)
Browse files Browse the repository at this point in the history
Because

- adapt new core structure among instill-ai project

This commit

- adapt new core structure among instill-ai project
  • Loading branch information
iamnamananand996 authored Oct 23, 2023
1 parent 5ed98b1 commit 6fc14eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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) {
let URL: Nullable<string> = `${baseUrl}/base/${appVersion}`;
let URL: Nullable<string> = `${baseUrl}/core/${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 @@ -28,7 +28,7 @@ class AuthClient {
private axiosInstance: AxiosInstance;

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

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

0 comments on commit 6fc14eb

Please sign in to comment.