mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-07 08:02:50 +01:00
refactor: tab rules
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = function (module) {
|
||||
});
|
||||
return key.map(k => res.rows.some(r => r.k === k));
|
||||
}
|
||||
const res = await module.pool.query({
|
||||
const res = await module.pool.query({
|
||||
name: 'exists',
|
||||
text: `
|
||||
SELECT EXISTS(SELECT *
|
||||
|
||||
Reference in New Issue
Block a user