mirror of
1
Fork 0

[bugfix] attach bookmarks module to api (#1238)

This commit is contained in:
tobi 2022-12-09 12:23:20 +01:00 committed by GitHub
parent 610c2708ca
commit 04636a3ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/api/client/app" "github.com/superseriousbusiness/gotosocial/internal/api/client/app"
"github.com/superseriousbusiness/gotosocial/internal/api/client/auth" "github.com/superseriousbusiness/gotosocial/internal/api/client/auth"
"github.com/superseriousbusiness/gotosocial/internal/api/client/blocks" "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/emoji"
"github.com/superseriousbusiness/gotosocial/internal/api/client/favourites" "github.com/superseriousbusiness/gotosocial/internal/api/client/favourites"
"github.com/superseriousbusiness/gotosocial/internal/api/client/fileserver" "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) fileServerModule := fileserver.New(processor)
adminModule := admin.New(processor) adminModule := admin.New(processor)
statusModule := status.New(processor) statusModule := status.New(processor)
bookmarksModule := bookmarks.New(processor)
securityModule := security.New(dbService, oauthServer) securityModule := security.New(dbService, oauthServer)
streamingModule := streaming.New(processor) streamingModule := streaming.New(processor)
favouritesModule := favourites.New(processor) favouritesModule := favourites.New(processor)
@ -203,6 +205,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
fileServerModule, fileServerModule,
adminModule, adminModule,
statusModule, statusModule,
bookmarksModule,
webfingerModule, webfingerModule,
nodeInfoModule, nodeInfoModule,
usersModule, usersModule,