mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 18:10:54 +09:00
Fix spaceId
This commit is contained in:
parent
bf1e446332
commit
7c928b3b8f
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
"github.com/anyproto/any-sync/commonspace/object/tree/synctree"
|
||||
"github.com/anyproto/any-sync/commonspace/object/tree/treechangeproto"
|
||||
"github.com/anyproto/any-sync/commonspace/object/treemanager"
|
||||
"github.com/anyproto/any-sync/commonspace/spacestate"
|
||||
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
|
||||
"github.com/anyproto/any-sync/commonspace/sync/objectsync/objectmessages"
|
||||
"github.com/anyproto/any-sync/commonspace/sync/syncdeps"
|
||||
|
@ -42,6 +43,7 @@ func (o *objectSync) Init(a *app.App) (err error) {
|
|||
o.manager = a.MustComponent(treemanager.CName).(treemanager.TreeManager)
|
||||
o.pool = a.MustComponent(pool.CName).(pool.Service)
|
||||
o.status = a.MustComponent(syncstatus.CName).(syncstatus.StatusUpdater)
|
||||
o.spaceId = a.MustComponent(spacestate.CName).(*spacestate.SpaceState).SpaceId
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue