mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-19 05:01:28 +00:00
Added eslint and fixed an issue from #158
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user