Fix directs activity (#7991)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2025-02-12 17:23:14 +07:00
committed by GitHub
parent 69dbd06863
commit f904f263ab
3 changed files with 14 additions and 5 deletions
@@ -275,7 +275,7 @@ export async function generateDocUpdateMessages (
if (controlRules.length > 0) {
for (const r of controlRules) {
for (const s of r.skip) {
if (matchQuery([tx], s, r.objectClass, hierarchy).length > 0) {
if (matchQuery([tx], s, core.class.TxCUD, hierarchy).length > 0) {
// Match found, we need to skip
return res
}