summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-12 16:37:13 +0530
committerIttay Stern <ittay.stern@att.com>2019-09-24 16:37:20 +0000
commitb067652d82e9e872638ec506469cfc03b6009e83 (patch)
tree88cb60d26421068aa59465a23e092bf301ba1344 /vid-app-common/src/main
parent4f68c5a8cca4c7d8f3fb38e32460925f27a03262 (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js8
1 files changed, 4 insertions, 4 deletions
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 );