Skip to content

Commit

Permalink
Merge pull request #1093 from anyproto/GO-3194-fix
Browse files Browse the repository at this point in the history
GO-3194 fix: register component
  • Loading branch information
AnthonyAkentiev authored Apr 8, 2024
2 parents f573352 + 519a3c6 commit a82e5c6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions core/anytype/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ import (
"github.com/anyproto/any-sync/util/crypto"
"go.uber.org/zap"

"github.com/anyproto/any-sync/nameservice/nameserviceclient"
"github.com/anyproto/any-sync/paymentservice/paymentserviceclient"

"github.com/anyproto/anytype-heart/core/acl"
"github.com/anyproto/anytype-heart/core/anytype/account"
"github.com/anyproto/anytype-heart/core/anytype/config"
Expand Down Expand Up @@ -62,8 +65,10 @@ import (
"github.com/anyproto/anytype-heart/core/indexer"
"github.com/anyproto/anytype-heart/core/invitestore"
"github.com/anyproto/anytype-heart/core/kanban"
"github.com/anyproto/anytype-heart/core/nameservice"
"github.com/anyproto/anytype-heart/core/notifications"
"github.com/anyproto/anytype-heart/core/payments"
paymentscache "github.com/anyproto/anytype-heart/core/payments/cache"
"github.com/anyproto/anytype-heart/core/recordsbatcher"
"github.com/anyproto/anytype-heart/core/subscription"
"github.com/anyproto/anytype-heart/core/syncstatus"
Expand Down Expand Up @@ -95,11 +100,6 @@ import (
"github.com/anyproto/anytype-heart/util/linkpreview"
"github.com/anyproto/anytype-heart/util/unsplash"
"github.com/anyproto/anytype-heart/util/vcs"

"github.com/anyproto/any-sync/nameservice/nameserviceclient"
"github.com/anyproto/any-sync/paymentservice/paymentserviceclient"

paymentscache "github.com/anyproto/anytype-heart/core/payments/cache"
)

var (
Expand Down Expand Up @@ -278,6 +278,7 @@ func Bootstrap(a *app.App, components ...app.Component) {
Register(templateservice.New()).
Register(notifications.New()).
Register(paymentserviceclient.New()).
Register(nameservice.New()).
Register(nameserviceclient.New()).
Register(payments.New()).
Register(paymentscache.New())
Expand Down

0 comments on commit a82e5c6

Please sign in to comment.