$scope.path = $location.path();
$scope.navigator = crmNavigator;
$scope.statuses = statuses;
- console.log(preferences)
+ console.log(preferences);
$scope.preferences = preferences;
// will "hush" a status - gets the severity level of the status that is being hushed, and hushes all alerts for that check at and below the level of the current check
angular.module('statuspage').service('statuspageGetStatuses', function(crmApi, statuspageSeverityList) {
return function(apiFilter) {
return crmApi('System', 'check', apiFilter)
- .catch(function(obj){console.log(obj)})
+ .catch(function(obj){console.log(obj)});
.then(function(apiResults){
_.each(apiResults.values, function(status){
status.severity_id = status.severity;
};
});
return apiResults;
- })
- }
+ });
+ };
});
angular.module('statuspage').service('statuspageGetPreferences', function(crmApi) {