From a9eed54efd8c9458b9c52329d3e0b58fc900cfe4 Mon Sep 17 00:00:00 2001 From: "sofia.baltzi" Date: Tue, 6 Mar 2018 14:33:59 +0000 Subject: [PATCH] Undo -> Remove getDataProviders git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@51053 d315682c-612b-4755-9ff5-7f18f6832af3 --- app/services/help-content.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/services/help-content.service.ts b/app/services/help-content.service.ts index 0360bd1..ad835f8 100644 --- a/app/services/help-content.service.ts +++ b/app/services/help-content.service.ts @@ -385,6 +385,10 @@ export class HelpContentService { return Observable.throw(error.json().error || 'Server error'); } + getDataProviders() { + return this.http.get('https://beta.services.openaire.eu/search/v2/api/datasources?format=json').map(res => res.json()).map(res => res.results).do(res => {console.log(res)}).catch(this.handleError); + } + getStatistics(community_pid: string) { return this.http.get(this._helpContentUrl + 'statistics/'+community_pid) .map(res => res.json())