@ -211,7 +211,10 @@ api.on('connection', function(spark) {
spark.on('node-ping', function(data)
{
spark.emit('node-pong');
spark.emit('node-pong', {
clientTime: data.clientTime,
serverTime: _.now()
});
spark.on('latency', function(data)
@ -150,6 +150,7 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, socket, _, toastr)
break;
// TODO: Remove when everybody updates api client to 0.0.12
case "update":
var index = findIndex({id: data.id});