diff --git a/server/socket.js b/server/socket.js index aa7b915c..8da09d8b 100644 --- a/server/socket.js +++ b/server/socket.js @@ -423,7 +423,7 @@ utils.extend(SocketConnection.prototype, { if(!utils.stripObject(data, { destinations: [ { lat: "number", lon: "number" } ], mode: "string" })) throw "Invalid parameters."; - return routing.calculateRouting(data.destinations, data.mode, true); + return routing.calculateRouting(data.destinations, data.mode, false); }); },