Corrected server bug

This commit is contained in:
Thomas FORGIONE 2015-05-21 15:42:34 +02:00
parent 8e592c87b5
commit 6fc282b933
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ var addPreviousNextFromId = function(client, req, res, callback, id) {
var addHoveredFromId = function(client, req, res, callback, id) {
client.query(
"SELECT start, time, arrow_id FROM hovered WHERE id = $1",
"SELECT start, time, arrow_id FROM hovered WHERE user_id = $1",
[id],
function(err, result) {
res.locals.path = res.locals.path || [];