diff options
Diffstat (limited to 'cmd/gotosocial/action/server/server.go')
-rw-r--r-- | cmd/gotosocial/action/server/server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go index fab88fe21..5aaccd1c4 100644 --- a/cmd/gotosocial/action/server/server.go +++ b/cmd/gotosocial/action/server/server.go @@ -100,6 +100,10 @@ var Start action.GTSAction = func(ctx context.Context) error { return fmt.Errorf("error creating instance instance: %s", err) } + if err := dbService.CreateInstanceApplication(ctx); err != nil { + return fmt.Errorf("error creating instance application: %s", err) + } + // Get the instance account // (we'll need this later). instanceAccount, err := dbService.GetInstanceAccount(ctx, "") |