Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #266 from blockchain/login-get-quote
Browse files Browse the repository at this point in the history
fix(Quote): call processQuote with quote instead of undefined
  • Loading branch information
jtormey authored Sep 2, 2016
2 parents 31eccee + 79cf5a4 commit d5e6f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coinify/quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d5e6f4f

Please sign in to comment.