Revision 44766
Added by Argiro Kokogiannaki over 7 years ago
publication.service.ts | ||
---|---|---|
16 | 16 |
|
17 | 17 |
getPublicationInfo (id: string):any { |
18 | 18 |
console.info("getPublicationInfo in service"); |
19 |
let url = OpenaireProperties.getSearchAPIURL() + 'publications/' +id;
|
|
19 |
let url = OpenaireProperties. getSearchAPIURLLast() + 'publications/' +id+"?format=json";
|
|
20 | 20 |
let key = url; |
21 | 21 |
if (this._cache.has(key)) { |
22 | 22 |
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