commit 04636a3ba3b16d0f55f4c955e51ab78cfa53c890
parent 610c2708ca2f4128dd101065adddba490064bef7
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Fri, 9 Dec 2022 12:23:20 +0100
[bugfix] attach bookmarks module to api (#1238)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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,