Remove extra logs (#4456)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-01-25 22:45:03 +04:00 committed by GitHub
parent c4e92bbf47
commit 631a61ca1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ export async function isShouldNotify (
isSpace, isSpace,
docUpdateMessage?.attributeUpdates?.attrKey docUpdateMessage?.attributeUpdates?.attrKey
) )
console.log({ types })
const personAccount = await getPersonAccountById(user, control) const personAccount = await getPersonAccountById(user, control)
for (const type of types) { for (const type of types) {
@ -126,7 +126,6 @@ export async function isShouldNotify (
// Also check if we have different account for same user. // Also check if we have different account for same user.
(personAccount?.person !== undefined && personAccount?.person === modifiedAccount?.person)) (personAccount?.person !== undefined && personAccount?.person === modifiedAccount?.person))
) { ) {
console.log('1')
continue continue
} }
if (control.hierarchy.hasMixin(type, serverNotification.mixin.TypeMatch)) { if (control.hierarchy.hasMixin(type, serverNotification.mixin.TypeMatch)) {