diff options
author | 2018-04-11 07:58:25 +0530 | |
---|---|---|
committer | 2018-04-11 07:58:25 +0530 | |
commit | b932a9d99ed92e0dd016b3b7652a4cec8e742337 (patch) | |
tree | 2371c4ae9754962450fb4dc7d9dfd39ca58df324 /vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js | |
parent | 23c4a2268728595acbfbe9bf14d695391a4b4a14 (diff) |
code needs to be formatted
code needs to be formatted
Issue-ID: VNFSDK-245
Change-Id: I09e450ca7e66fda29634c66c24fc9a282eb04ed2
Signed-off-by: Anjali Walsatwar <anjali.walsatwar@huawei.com>
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js index b73cd5a7..abc788c3 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js +++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onBoardingService.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -(function() { +(function () { 'use strict'; /** @@ -40,8 +40,8 @@ method = vnfConfig.api.home.getFunctionalList.method; url = url.replace(":csarId", csarId); - url += "?operTypeId="+operTypeId; - url += "&operId="+operId; + url += "?operTypeId=" + operTypeId; + url += "&operId=" + operId; /*var response = @@ -73,9 +73,9 @@ //defer.resolve(response); httpService.apiRequest(url, method) - .then(function(response) { + .then(function (response) { defer.resolve(response); - }, function(error) { + }, function (error) { defer.reject(error); }); return defer.promise; @@ -144,9 +144,9 @@ httpService.apiRequest(url, method) - .then(function(response) { + .then(function (response) { defer.resolve(response); - }, function(error) { + }, function (error) { defer.reject(error); }); return defer.promise; |