@@ -56,7 +56,9 @@ export class ClaContributorService {
5656
5757
5858 getUser ( userId : string ) : Observable < UserModel > {
59- const url = this . getV3Endpoint ( '/v3/user-compat/' + userId ) ;
59+ // LG:TODO
60+ const url = this . getV2Endpoint ( '/v2/user/' + userId ) ;
61+ // const url = this.getV3Endpoint('/v3/user-compat/' + userId);
6062 return this . httpClient . get < UserModel > ( url ) ;
6163 }
6264
@@ -71,12 +73,16 @@ export class ClaContributorService {
7173 }
7274
7375 getProject ( projectId : string ) : Observable < ProjectModel > {
74- const url = this . getV4Endpoint ( '/v4/project-compat/' + projectId ) ;
76+ // LG:TODO
77+ const url = this . getV2Endpoint ( '/v2/project/' + projectId ) ;
78+ // const url = this.getV4Endpoint('/v4/project-compat/' + projectId);
7579 return this . httpClient . get < ProjectModel > ( url ) ;
7680 }
7781
7882 getUserActiveSignature ( userId : string ) : Observable < ActiveSignatureModel > {
79- const url = this . getV4Endpoint ( '/v4/user/' + userId + '/active-signature' ) ;
83+ // LG:TODO
84+ const url = this . getV2Endpoint ( '/v2/user/' + userId + '/active-signature' ) ;
85+ // const url = this.getV4Endpoint('/v4/user/' + userId + '/active-signature');
8086 return this . httpClient . get < ActiveSignatureModel > ( url ) ;
8187 }
8288
@@ -144,7 +150,9 @@ export class ClaContributorService {
144150 }
145151
146152 getGerritProjectInfo ( projectId : string ) : Observable < ProjectModel > {
147- const url = this . getV4Endpoint ( '/v4/project-compat/' + projectId ) ;
153+ // LG:TODO
154+ const url = this . getV2Endpoint ( '/v2/project/' + projectId ) ;
155+ // const url = this.getV4Endpoint('/v4/project-compat/' + projectId);
148156 return this . httpClient . get < ProjectModel > ( url ) ;
149157 }
150158
0 commit comments