-rw-r--r-- | backend/node/src/clipperz.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/node/src/clipperz.js b/backend/node/src/clipperz.js index c51b0bc..5b4df0a 100644 --- a/backend/node/src/clipperz.js +++ b/backend/node/src/clipperz.js @@ -35,13 +35,13 @@ function clipperz_store(PG) { ) }; rv.prototype.length = function(cb) { PG.Q( "SELECT count(*) AS c FROM clipperz.thesession", function(e,r) { cb(e,e?null:r.rows[0].c); } ) }; - rv.prototype.length = function(cb) { PQ.Q( + rv.prototype.clear = function(cb) { PQ.Q( "DELETE FROM clipperz.thesession", cb ) }; rv.prototype.__proto__ = express_store.prototype; return rv; } |