mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 17:26:03 +03:00
[bugfix] attach bookmarks module to api (#1238)
This commit is contained in:
parent
610c2708ca
commit
04636a3ba3
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue