This commit is contained in:
Jean-Baptiste Dominguez 2018-09-05 11:37:29 +09:00
commit 5e034e7b8b

View file

@ -13,7 +13,6 @@ angular.module('bitcoincom.services').factory('shapeshiftService', function ($ht
root.getMarketData = function (coinIn, coinOut, cb) {
root.coinIn = coinIn;
root.coinOut = coinOut;
if (root.coinIn !== undefined && root.coinOut !== undefined){
shapeshiftApiService
.marketInfo(root.coinIn, root.coinOut)
.then(function (marketData) {
@ -23,7 +22,6 @@ angular.module('bitcoincom.services').factory('shapeshiftService', function ($ht
cb(marketData);
}
});
}
};
root.coins = {