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

Commit

Permalink
fix(Quote): call processQuote with quote instead of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Sep 2, 2016
1 parent 81e9fc6 commit 79cf5a4
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 79cf5a4

Please sign in to comment.