Revision 53230
Added by Konstantina Galouni over 5 years ago
claimsByToken.service.ts | ||
---|---|---|
11 | 11 |
|
12 | 12 |
constructor(private http: Http ) {} |
13 | 13 |
|
14 |
getClaims(token: string, apiURL:string):any {
|
|
14 |
getClaims(openaireId: string, apiURL:string):any {
|
|
15 | 15 |
console.info("getClaims in service"); |
16 | 16 |
|
17 |
let url = apiURL+"project/claims?projectToken="+token; |
|
17 |
//let url = apiURL+"project/claims?projectToken="+token; |
|
18 |
let url = apiURL+"projects/"+openaireId+"/all_claims"; |
|
18 | 19 |
|
19 | 20 |
let key = url; |
20 | 21 |
|
Also available in: Unified diff
claimsByToken: 'token' is not used anymore for claims. Instead it is used 'projectId'.