From b067652d82e9e872638ec506469cfc03b6009e83 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 12 Sep 2019 16:37:13 +0530 Subject: Add a semicolon at the end of this statement. In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-607 Change-Id: I27deafe5e97d71be4b5b6501f3cda0a19769123b Signed-off-by: anushadasari --- .../src/main/webapp/app/vid/scripts/services/msoService.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vid-app-common/src/main/webapp/app') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js index 3f902e86e..ac6eeeac6 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js @@ -42,7 +42,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS if (response.data.status < 200 || response.data.status > 202) { throw { type : FIELD.ID.MSO_FAILURE - } + }; } }; @@ -172,7 +172,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS getFormattedCommonResponse : function(response) { return UtilityService.getCurrentTime() + " HTTP Status: " + UtilityService.getHttpStatusText(response.data.status) - + "\n" + angular.toJson(response.data.entity, true) + + "\n" + angular.toJson(response.data.entity, true); }, checkValidStatus : checkValidStatus, @@ -326,7 +326,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS $log.debug("model info from instance", instance); $log.debug("model info to model", modelInfo); - return modelInfo + return modelInfo; }; var payload = { @@ -572,7 +572,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS return sendPostRequestWithBody(url, payload); } - } + }; }; appDS2.factory("MsoService", MsoService ); -- cgit 1.2.3-korg