refactor: remove log

This commit is contained in:
Barış Soner Uşaklı 2024-05-17 13:57:22 -04:00
parent 59dc25469e
commit a2a639f0b3

View file

@ -160,7 +160,6 @@ Sockets.canCreate = async function (socket, data) {

async function checkPrivs(cid, socketUid) {
const can = await NodeBB.Privileges.categories.can('poll:create', cid, socketUid);
console.log(cid, socketUid, can);
if (!can) {
throw new Error('[[poll:error.privilege.create]]');
}