Permalink
Browse files

Fix extra bracket in save.sql

  • Loading branch information...
1 parent 500944c commit 82dd337463d37381572f0bc564097e8d1b9d4f32 Admin committed Jul 30, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 save.sql
View
@@ -18,7 +18,6 @@ BOOLEAN AS $$
var update = plv8.prepare("UPDATE col_" + collection + " SET data = $1 WHERE col_" + collection + "_id = $2", [ 'json', 'character varying' ]);
res = update.execute([ data, id ]);
}
- }
}
if (res == 0) { // If it didnt affect anything, it must be a new row. Insert.

0 comments on commit 82dd337

Please sign in to comment.