Add a semicolon at the end of this statement 10/93410/1
authoranushadasari <danush10@in.ibm.com>
Tue, 13 Aug 2019 11:30:25 +0000 (17:00 +0530)
committeranushadasari <danush10@in.ibm.com>
Tue, 13 Aug 2019 11:30:47 +0000 (17:00 +0530)
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 <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.js

index 072adf3..e66b8ff 100755 (executable)
@@ -531,7 +531,7 @@ appDS2.controller("aaiSubscriberController", ["COMPONENT", "FIELD", "PARAMETER",
                         $scope.isPermitted = first.isPermitted;\r
                         deferred.resolve(first.isPermitted);\r
                     } else {\r
-                        deferred.reject("some error while resolveIfIsPermitted")\r
+                        deferred.reject("some error while resolveIfIsPermitted");\r
                     }\r
                 });\r
 \r