diff options
Diffstat (limited to 'internal/gotosocial/gotosocial.go')
-rw-r--r-- | internal/gotosocial/gotosocial.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/gotosocial/gotosocial.go b/internal/gotosocial/gotosocial.go index 7ce70980d..4c6846ff9 100644 --- a/internal/gotosocial/gotosocial.go +++ b/internal/gotosocial/gotosocial.go @@ -72,8 +72,6 @@ func (gts *gotosocial) Stop(ctx context.Context) error { if err := gts.apiRouter.Stop(ctx); err != nil { return err } - if err := gts.db.Stop(ctx); err != nil { - return err - } - return nil + + return gts.db.Stop(ctx) } |