1
0
mirror of https://github.com/MailHops/mailhops-node.git synced 2025-05-15 19:30:13 -07:00

Fixed start stop methods param

This commit is contained in:
Andrew Van Tassel 2016-12-09 18:49:34 -07:00
parent 14239e568d
commit da82583dd4

View File

@ -236,7 +236,7 @@ module.exports = {
},
getStartHop: function(routeResponse){
var route = _.filter(hops.route, function(h){
var route = _.filter(routeResponse, function(h){
return ((!!h.lat && !!h.lng) || h.coords);
});
if(route.length)
@ -245,7 +245,7 @@ module.exports = {
},
getEndHop: function(routeResponse){
var route = _.filter(hops.route, function(h){
var route = _.filter(routeResponse, function(h){
return ((!!h.lat && !!h.lng) || h.coords);
});
if(route.length)