Skip to content

Commit 2d631c4

Browse files
committed
Update TeamService.ts
1 parent 7f44ce1 commit 2d631c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontend/src/services/TeamService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class TeamService {
6565
*/
6666
static async getUserTeams(): Promise<TeamConfig[]> {
6767
try {
68-
const response = await apiClient.get('/team_configs');
68+
const response = await apiClient.get('/v3/team_configs');
6969

7070
// The apiClient returns the response data directly, not wrapped in a data property
7171
const teams = Array.isArray(response) ? response : [];
@@ -94,7 +94,7 @@ export class TeamService {
9494
*/
9595
static async deleteTeam(teamId: string): Promise<boolean> {
9696
try {
97-
const response = await apiClient.delete(`/team_configs/${teamId}`);
97+
const response = await apiClient.delete(`/v3/team_configs/${teamId}`);
9898
return true;
9999
} catch (error: any) {
100100
return false;

0 commit comments

Comments
 (0)