From 04636a3ba3b16d0f55f4c955e51ab78cfa53c890 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 9 Dec 2022 12:23:20 +0100 Subject: [PATCH] [bugfix] attach bookmarks module to api (#1238) --- cmd/gotosocial/action/server/server.go | 3 +++ 1 file changed, 3 insertions(+) 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,