mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 19:30:04 +01:00
fix typo
This commit is contained in:
@@ -105,7 +105,7 @@ module.exports = function(redisClient, module) {
|
||||
|
||||
module.rename = function(oldKey, newKey, callback) {
|
||||
callback = callback || function() {};
|
||||
redisClient.exist(oldKey, function(err, exists) {
|
||||
redisClient.exists(oldKey, function(err, exists) {
|
||||
if (err || !exists) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user