diff --git a/.gitignore b/.gitignore index 81adb8d5..997829df 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,5 @@ Thumbs.db #mac icloude files .nosync +out +*.swp diff --git a/src/app/core/services/cla-contributor.service.ts b/src/app/core/services/cla-contributor.service.ts index 6e63b725..6f345d37 100644 --- a/src/app/core/services/cla-contributor.service.ts +++ b/src/app/core/services/cla-contributor.service.ts @@ -66,7 +66,7 @@ export class ClaContributorService { } getProject(projectId: string): Observable { - const url = this.getV2Endpoint('/v2/project/' + projectId); + const url = this.getV4Endpoint('/v4/project-compat/' + projectId); return this.httpClient.get(url); } @@ -139,7 +139,7 @@ export class ClaContributorService { } getGerritProjectInfo(projectId: string): Observable { - const url = this.getV2Endpoint('/v2/project/' + projectId); + const url = this.getV4Endpoint('/v4/project-compat/' + projectId); return this.httpClient.get(url); }