Corrected bug
This commit is contained in:
parent
7e52e1ec08
commit
4a15413b30
|
@ -140,8 +140,8 @@ var addPreviousNextFromId = function(client, req, res, callback, id) {
|
||||||
"((camera).target).y AS ty, " +
|
"((camera).target).y AS ty, " +
|
||||||
"((camera).target).z AS tz, " +
|
"((camera).target).z AS tz, " +
|
||||||
"time AS time " +
|
"time AS time " +
|
||||||
"FROM previousnextclicked;",
|
"FROM previousnextclicked WHERE user_id = $1;",
|
||||||
[],
|
[id],
|
||||||
function(err, result) {
|
function(err, result) {
|
||||||
res.locals.path = res.locals.path || [];
|
res.locals.path = res.locals.path || [];
|
||||||
for (var i in result.rows) {
|
for (var i in result.rows) {
|
||||||
|
|
Loading…
Reference in New Issue