[Connect]: resultLanding.service.ts: In method "getEnermapsDetails()", change url to /api/metadata (used to be /api/datasets).
This commit is contained in:
parent
aae1a2a0d0
commit
d80ac4904a
|
@ -487,7 +487,8 @@ export class ResultLandingService {
|
||||||
}
|
}
|
||||||
|
|
||||||
getEnermapsDetails(id: string) {
|
getEnermapsDetails(id: string) {
|
||||||
let url = properties.enermapsURL+"/api/datasets_full?shared_id=eq."+id;
|
// let url = properties.enermapsURL+"/api/datasets_full?shared_id=eq."+id;
|
||||||
|
let url = properties.enermapsURL+"/api/metadata?shared_id=eq."+id;
|
||||||
return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url)
|
return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url)
|
||||||
// return this.http.get(url)
|
// return this.http.get(url)
|
||||||
.pipe(map(res => this.parseEnermapsDetails(res)));
|
.pipe(map(res => this.parseEnermapsDetails(res)));
|
||||||
|
|
Loading…
Reference in New Issue