From 19074e2511781538a53f276c5d27ae3566e77e77 Mon Sep 17 00:00:00 2001 From: palak Date: Tue, 7 Nov 2017 16:10:38 +0530 Subject: [PATCH] dshf --- script.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index 61d0fd6..081f66d 100644 --- a/script.js +++ b/script.js @@ -49,8 +49,8 @@ }]).run(['Analytics', function(Analytics) { }]); - scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") - //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") + scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") + // scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") // create the controller and inject Angular's $scope scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { @@ -359,6 +359,7 @@ } else { $scope.check = true; $('#alreadyExist').css('display', 'block'); + } }, function myError(error) {}); } @@ -576,7 +577,7 @@ console.log("$scope.taxTotal----", $scope.payingAmnt) var options = { "key": "rzp_live_mhSE1uOBlXvFyJ", - //"key": "rzp_test_YwHsVFiDIQ2WUQ", + // "key": "rzp_test_YwHsVFiDIQ2WUQ", "amount": $scope.payingAmnt , "name": "Startup Jalsa", -- 2.0.0