mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-04 23:04:47 +00:00
Fix notifications remove on doc remove (#4901)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
a16e1ea231
commit
ba393d9e51
@ -1055,7 +1055,7 @@ async function OnDocRemove (tx: TxCUD<Doc>, control: TriggerControl): Promise<Tx
|
|||||||
|
|
||||||
if (etx._class !== core.class.TxRemoveDoc) return []
|
if (etx._class !== core.class.TxRemoveDoc) return []
|
||||||
|
|
||||||
return await removeCollaboratorDoc(tx as TxRemoveDoc<Doc>, control)
|
return await removeCollaboratorDoc(etx as TxRemoveDoc<Doc>, control)
|
||||||
}
|
}
|
||||||
|
|
||||||
export * from './types'
|
export * from './types'
|
||||||
|
Loading…
Reference in New Issue
Block a user