Skip to content

Commit 6fc14eb

Browse files
chore: adapt new core structure among instill-ai project (#40)
Because - adapt new core structure among instill-ai project This commit - adapt new core structure among instill-ai project
1 parent 5ed98b1 commit 6fc14eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/metric/MetricClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MetricClient {
1010
private axiosInstance: AxiosInstance;
1111

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

1515
this.axiosInstance = axios.create({
1616
baseURL: URL,

src/mgmt/AuthClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AuthClient {
2828
private axiosInstance: AxiosInstance;
2929

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

3333
this.axiosInstance = axios.create({
3434
baseURL: URL,

0 commit comments

Comments
 (0)