Corrected mistake on order

This commit is contained in:
Thomas FORGIONE 2015-05-19 16:01:52 +02:00
parent e6acfcb155
commit 94bc5084fe
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ var getPathFromId = function(req, res, callback, id) {
"((camera).target).x AS tx, " +
"((camera).target).y AS ty, " +
"((camera).target).z AS tz " +
"FROM keyboardevent WHERE user_id = $1;",
"FROM keyboardevent WHERE user_id = $1 ORDER BY time;",
[id],
function(err, result) {
res.locals.path = [];