summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-12-09 12:23:20 +0100
committerLibravatar GitHub <noreply@github.com>2022-12-09 12:23:20 +0100
commit04636a3ba3b16d0f55f4c955e51ab78cfa53c890 (patch)
tree16e72f5e4d1e6519109f7af6f2aeabcacc10d5b7
parent[docs] Update `CONTRIBUTING.md`, add pull request templates (#1216) (diff)
downloadgotosocial-04636a3ba3b16d0f55f4c955e51ab78cfa53c890.tar.xz
[bugfix] attach bookmarks module to api (#1238)
-rw-r--r--cmd/gotosocial/action/server/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go
index 9fb916850..fbb22bdcf 100644
--- a/cmd/gotosocial/action/server/server.go
+++ b/cmd/gotosocial/action/server/server.go
@@ -32,6 +32,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/api/client/app"
"github.com/superseriousbusiness/gotosocial/internal/api/client/auth"
"github.com/superseriousbusiness/gotosocial/internal/api/client/blocks"
+ "github.com/superseriousbusiness/gotosocial/internal/api/client/bookmarks"
"github.com/superseriousbusiness/gotosocial/internal/api/client/emoji"
"github.com/superseriousbusiness/gotosocial/internal/api/client/favourites"
"github.com/superseriousbusiness/gotosocial/internal/api/client/fileserver"
@@ -180,6 +181,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
fileServerModule := fileserver.New(processor)
adminModule := admin.New(processor)
statusModule := status.New(processor)
+ bookmarksModule := bookmarks.New(processor)
securityModule := security.New(dbService, oauthServer)
streamingModule := streaming.New(processor)
favouritesModule := favourites.New(processor)
@@ -203,6 +205,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
fileServerModule,
adminModule,
statusModule,
+ bookmarksModule,
webfingerModule,
nodeInfoModule,
usersModule,