mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +00:00
fix client usage in chunter
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
0b4217e7f3
commit
3632a7b767
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
export let space: Ref<Space>
|
export let space: Ref<Space>
|
||||||
|
|
||||||
const client = new TxOperations(getClient())
|
const client = getClient()
|
||||||
|
|
||||||
function onMessage(event: CustomEvent) {
|
function onMessage(event: CustomEvent) {
|
||||||
client.createDoc(chunter.class.Message, space, {
|
client.createDoc(chunter.class.Message, space, {
|
||||||
|
Loading…
Reference in New Issue
Block a user