Added eslint and fixed an issue from #158
This commit is contained in:
parent
3ed1d775ac
commit
5939dec185
6 changed files with 36 additions and 13 deletions
|
@ -26,7 +26,7 @@ MemcachedDocumentStore.connect = function(options) {
|
|||
// Save file in a key
|
||||
MemcachedDocumentStore.prototype.set =
|
||||
function(key, data, callback, skipExpire) {
|
||||
MemcachedDocumentStore.client.set(key, data, function(err, reply) {
|
||||
MemcachedDocumentStore.client.set(key, data, function(err) {
|
||||
err ? callback(false) : callback(true);
|
||||
}, skipExpire ? 0 : this.expire);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue