fix: whitespace

v1.18.x
Barış Soner Uşaklı 5 years ago committed by GitHub
parent 0595e71078
commit a024cc1344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,7 +182,7 @@ module.exports = function (Groups) {
const keys = allGroups.map(group => 'group:' + group + ':members'); const keys = allGroups.map(group => 'group:' + group + ':members');
await renameGroupsMember(keys, oldName, newName); await renameGroupsMember(keys, oldName, newName);
cache.del(keys); cache.del(keys);
await db.rename('group:' + oldName, 'group:' + newName); await db.rename('group:' + oldName, 'group:' + newName);
await db.rename('group:' + oldName + ':members', 'group:' + newName + ':members'); await db.rename('group:' + oldName + ':members', 'group:' + newName + ':members');
await db.rename('group:' + oldName + ':owners', 'group:' + newName + ':owners'); await db.rename('group:' + oldName + ':owners', 'group:' + newName + ':owners');

Loading…
Cancel
Save