From 10a3d2d4bb9fd8f48533202ca34a7f111477d820 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Sun, 2 Jan 2022 10:52:21 -0500 Subject: [PATCH] fixing adding of new instances --- fedilogue/instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedilogue/instance.go b/fedilogue/instance.go index 5b8de9e..572883a 100644 --- a/fedilogue/instance.go +++ b/fedilogue/instance.go @@ -173,7 +173,7 @@ func LogInstance(endpoint string, o shared.RunningInstance) bool { return true // Endpoint already in database, continuing } - _, err = pool.Exec(context.Background(), "INSERT INTO instances (endpoint, autostart, state, software) VALUES($1, $2, $3, $4)", endpoint, true, "", o.Software) + _, err = pool.Exec(context.Background(), "INSERT INTO instances (endpoint, state, software) VALUES($1, $2, $3)", endpoint, "", o.Software) if err != nil { logWarn("Error inserting %s into `instances`: "+endpoint, err) return true