Refactor: replace angular $q by native Promise.
This commit is contained in:
@@ -7,8 +7,7 @@ import angular from 'angular';
|
||||
class ZabbixAPICoreService {
|
||||
|
||||
/** @ngInject */
|
||||
constructor($q, backendSrv) {
|
||||
this.$q = $q;
|
||||
constructor(backendSrv) {
|
||||
this.backendSrv = backendSrv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user