summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core/services/homes.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/core/services/homes.service.ts')
-rw-r--r--usecaseui-portal/src/app/core/services/homes.service.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/core/services/homes.service.ts b/usecaseui-portal/src/app/core/services/homes.service.ts
index 321642db..98d60b52 100644
--- a/usecaseui-portal/src/app/core/services/homes.service.ts
+++ b/usecaseui-portal/src/app/core/services/homes.service.ts
@@ -62,13 +62,9 @@ export class HomesService {
}
getSourceNames() {
- return this.http.get<any>(this.baseUrl + '/alarm/getSourceNames/');
+ return this.http.get<any>(this.url.sourceNames);
}
- getstatuscount() {
- let httpurl = this.baseUrl + '/alarm/statusCount';
- return this.http.get<any>(httpurl);
- }
getAlarmDetailData(id) {
let httpurl = this.baseUrl + '/alarm/getAlarmsHeaderDetail/' + id;
return this.http.get<any>(httpurl);