Project

General

Profile

« Previous | Next » 

Revision 44766

Use the new API - not only in Publications but also in any other component

View differences:

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