mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-27 21:43:20 +03:00
Remove extra logs (#4456)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
c4e92bbf47
commit
631a61ca1d
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user