refactor: use timeRange instead of from, to
This commit is contained in:
@@ -323,7 +323,8 @@ function ZabbixAPIServiceFactory(alertSrv, zabbixAPICoreService) {
|
||||
return this.request('service.get', params);
|
||||
}
|
||||
|
||||
getSLA(serviceids, timeFrom, timeTo) {
|
||||
getSLA(serviceids, timeRange) {
|
||||
let [timeFrom, timeTo] = timeRange;
|
||||
var params = {
|
||||
serviceids: serviceids,
|
||||
intervals: [{
|
||||
|
||||
Reference in New Issue
Block a user