mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +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 []
|
||||
|
||||
return await removeCollaboratorDoc(tx as TxRemoveDoc<Doc>, control)
|
||||
return await removeCollaboratorDoc(etx as TxRemoveDoc<Doc>, control)
|
||||
}
|
||||
|
||||
export * from './types'
|
||||
|
Loading…
Reference in New Issue
Block a user