Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/app/services/api/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ export class ApiService {
return this.api + "/account/v2";
}

public getAccountApiUrlV3(): string {
return this.api + "/account/v3";
}

public getIAMApiUrl(): string {
return this.api + "/iam/v1alpha1";
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/user/project/project.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ProjectService {

// tslint:disable-next-line:max-line-length
const result = await this.api.get<ProjectsDto>(
`${this.api.getAccountApiUrlV2()}/projects?organization_id=${organizationId}&page_size=50&page=1`
`${this.api.getAccountApiUrlV3()}/projects?organization_id=${organizationId}&page_size=50&page=1`
);
return result.projects;
}
Expand Down