From c34b53b4ec59a8e771a7626464940ec89393fe29 Mon Sep 17 00:00:00 2001 From: Nikki Murray Date: Wed, 14 Oct 2015 13:26:19 -0400 Subject: [PATCH] Fixing missing semicolon to pass stylecheck --- ang/crmStatusPage/StatusPageCtrl.js | 2 +- ang/crmStatusPage/StatusPageServices.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ang/crmStatusPage/StatusPageCtrl.js b/ang/crmStatusPage/StatusPageCtrl.js index 79c30b3523..818f0d523d 100644 --- a/ang/crmStatusPage/StatusPageCtrl.js +++ b/ang/crmStatusPage/StatusPageCtrl.js @@ -11,7 +11,7 @@ $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 diff --git a/ang/crmStatusPage/StatusPageServices.js b/ang/crmStatusPage/StatusPageServices.js index fe86fc8266..9926228688 100644 --- a/ang/crmStatusPage/StatusPageServices.js +++ b/ang/crmStatusPage/StatusPageServices.js @@ -24,7 +24,7 @@ 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; @@ -36,8 +36,8 @@ }; }); return apiResults; - }) - } + }); + }; }); angular.module('statuspage').service('statuspageGetPreferences', function(crmApi) { -- 2.25.1