From 79cf5a4aeb2d8ce10bf624a9f71fe4460f9890f1 Mon Sep 17 00:00:00 2001 From: plondon Date: Fri, 2 Sep 2016 14:58:59 -0400 Subject: [PATCH] fix(Quote): call processQuote with quote instead of undefined --- src/coinify/quote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coinify/quote.js b/src/coinify/quote.js index dfd54da85..3b5292f76 100644 --- a/src/coinify/quote.js +++ b/src/coinify/quote.js @@ -79,7 +79,7 @@ Quote.getQuote = function (coinify, amount, baseCurrency) { return coinify.fetchProfile().then(getQuote).then(processQuote); } else { if (!coinify.isLoggedIn) { - return coinify.login().then(function () { getQuote(coinify.profile); }).then(processQuote); + return coinify.login().then(function () { return getQuote(coinify.profile); }).then(processQuote); } else { return getQuote(coinify.profile).then(processQuote); }