Revision 44766
Added by Argiro Kokogiannaki over 7 years ago
dataset.service.ts | ||
---|---|---|
18 | 18 |
getDatasetInfo (id: string):any { |
19 | 19 |
console.info("getDatasetInfo in service"); |
20 | 20 |
|
21 |
let url = OpenaireProperties.getSearchAPIURL()+'datasets/'+id;
|
|
21 |
let url = OpenaireProperties. getSearchAPIURLLast()+'datasets/'+id+"?format=json";
|
|
22 | 22 |
let key = url; |
23 | 23 |
if (this._cache.has(key)) { |
24 | 24 |
return Observable.of(this._cache.get(key)); |
Also available in: Unified diff
Use the new API - not only in Publications but also in any other component