Link to disable monitoring
This commit is contained in:
parent
0bdce5debb
commit
5a5c70cfb1
10 changed files with 230 additions and 0 deletions
app/scripts/services
|
@ -8,6 +8,13 @@ angular.module('ffffng')
|
|||
return $q.reject({});
|
||||
}
|
||||
return $http.put('/api/monitoring/confirm/' + mac + '?token=' + token);
|
||||
},
|
||||
|
||||
'disable': function (mac, token) {
|
||||
if (!mac || !token) {
|
||||
return $q.reject({});
|
||||
}
|
||||
return $http.put('/api/monitoring/disable/' + mac + '?token=' + token);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue