fix: tests

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

@ -34,7 +34,7 @@ module.exports = function (Groups) {
if (numOwners <= 1) {
throw new Error('[[error:group-needs-owner]]');
}
db.setRemove('group:' + groupName + ':owners', toUid);
await db.setRemove('group:' + groupName + ':owners', toUid);
plugins.fireHook('action:group.rescindOwnership', { uid: toUid, groupName: groupName });
};
};

Loading…
Cancel
Save