From e3c83c1ddaea5f42b6fda66d4b86459fd1349b3b Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 4 Jun 2022 17:40:24 -0700 Subject: logic corrections for instance creation, would return nil not complete steps --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index aa2faf7..9ff4c54 100644 --- a/main.go +++ b/main.go @@ -122,6 +122,10 @@ func Init() { config.Log.Println(err) } + if err = db.InitInstance(); err != nil { + config.Log.Println(err) + } + if actor, err = activitypub.GetActorFromDB(config.Domain); err != nil { config.Log.Println(err) } @@ -142,10 +146,6 @@ func Init() { config.Log.Println(err) } - if err = db.InitInstance(); err != nil { - config.Log.Println(err) - } - go webfinger.StartupArchive() go util.MakeCaptchas(100) -- cgit v1.2.3