Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.getPriceBookList = function () {
- console.log("PricingService getPriceBookList entered"); //Line1
- this.callTokenAPI().then(function onSuccess(response) {
- console.log("callTokenAPI success"); //Line 2
- return $http({
- url: "someUrl",
- method: 'GET',
- withCredentials:true,
- headers: { "Content-Type": "application/json; charset=UTF-8" }
- });
- }, function onFailure(error) {
- console.log("callTokenAPI failure in pricingservice");
- });
- console.log("PricingService getPriceBookList exited"); //Line 3
- };
Add Comment
Please, Sign In to add comment