mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 11:13:33 -06:00
tests are passing, but there's still much to be done
This commit is contained in:
parent
f61c3ddcf7
commit
dccf21dd87
18 changed files with 259 additions and 170 deletions
|
|
@ -105,7 +105,10 @@ var Start action.GTSAction = func(ctx context.Context) error {
|
|||
}
|
||||
|
||||
// build backend handlers
|
||||
mediaManager := media.New(dbService, storage)
|
||||
mediaManager, err := media.New(dbService, storage)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating media manager: %s", err)
|
||||
}
|
||||
oauthServer := oauth.New(ctx, dbService)
|
||||
transportController := transport.NewController(dbService, &federation.Clock{}, http.DefaultClient)
|
||||
federator := federation.NewFederator(dbService, federatingDB, transportController, typeConverter, mediaManager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue