From 52aa7d27e8240eb835cb66303dcc02d3723949b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 24 Feb 2015 11:58:09 -0500 Subject: [PATCH] #2761 --- src/database/mongo/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/mongo/main.js b/src/database/mongo/main.js index 0488260946..8509475bc4 100644 --- a/src/database/mongo/main.js +++ b/src/database/mongo/main.js @@ -138,7 +138,7 @@ module.exports = function(db, module) { }; module.pexpire = function(key, ms, callback) { - module.setObjectField(key, 'expireAt', new Date(Date.now() + parseInt(ms, 10)), callback); + module.pexpireAt(key, Date.now() + parseInt(ms, 10), callback); }; module.pexpireAt = function(key, timestamp, callback) {