diff options
Diffstat (limited to 'internal/gotosocial/gotosocial.go')
-rw-r--r-- | internal/gotosocial/gotosocial.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gotosocial/gotosocial.go b/internal/gotosocial/gotosocial.go index 99680c031..7ce70980d 100644 --- a/internal/gotosocial/gotosocial.go +++ b/internal/gotosocial/gotosocial.go @@ -41,7 +41,7 @@ type Server interface { // NewServer returns a new gotosocial server, initialized with the given configuration. // An error will be returned the caller if something goes wrong during initialization // eg., no db or storage connection, port for router already in use, etc. -func NewServer(db db.DB, apiRouter router.Router, federator federation.Federator, mediaManager media.Manager) (Server, error) { +func NewServer(db db.DB, apiRouter router.Router, federator federation.Federator, mediaManager *media.Manager) (Server, error) { return &gotosocial{ db: db, apiRouter: apiRouter, @@ -55,7 +55,7 @@ type gotosocial struct { db db.DB apiRouter router.Router federator federation.Federator - mediaManager media.Manager + mediaManager *media.Manager } // Start starts up the gotosocial server. If something goes wrong |