Enabled reset event for replay
This commit is contained in:
@@ -8,8 +8,8 @@ module.exports.index = function(req, res) {
|
||||
|
||||
pg.connect(secret.url, function(err, client, release) {
|
||||
client.query(
|
||||
"INSERT INTO keyboardevent(user_id, direction, camera, time)" +
|
||||
"VALUES($1, NULL, ROW(ROW($2,$3,$4),ROW($5,$6,$7)), to_timestamp($8));" ,
|
||||
"INSERT INTO keyboardevent(user_id, camera, time)" +
|
||||
"VALUES($1, ROW(ROW($2,$3,$4),ROW($5,$6,$7)), to_timestamp($8));" ,
|
||||
[
|
||||
user_id,
|
||||
camera.position.x,
|
||||
|
||||
Reference in New Issue
Block a user