From: anushadasari Date: Tue, 13 Aug 2019 11:30:25 +0000 (+0530) Subject: Add a semicolon at the end of this statement X-Git-Tag: 5.0.1~47 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5957a80435aebf3d684b97e9e28e73e89fb2f9ac;p=vid.git 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-568 Change-Id: Id89534f4fbd326ebcbe12857bce7e2d69bf73dfd Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js index 072adf305..e66b8ff6c 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js @@ -531,7 +531,7 @@ appDS2.controller("aaiSubscriberController", ["COMPONENT", "FIELD", "PARAMETER", $scope.isPermitted = first.isPermitted; deferred.resolve(first.isPermitted); } else { - deferred.reject("some error while resolveIfIsPermitted") + deferred.reject("some error while resolveIfIsPermitted"); } });