mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 18:57:42 +02:00
Improve TxOperations API (#809)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -56,15 +56,7 @@
|
||||
return
|
||||
}
|
||||
|
||||
await client.updateCollection(
|
||||
item._class,
|
||||
item.space,
|
||||
item._id,
|
||||
item.attachedTo,
|
||||
item.attachedToClass,
|
||||
item.collection,
|
||||
ops
|
||||
)
|
||||
await client.update(item, ops)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user