Fix notifications remove on doc remove (#4901)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-03-08 11:24:09 +04:00 committed by GitHub
parent a16e1ea231
commit ba393d9e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'