diff --git a/main.go b/main.go index 77cdfb7..0576fea 100644 --- a/main.go +++ b/main.go @@ -231,7 +231,7 @@ func handlerPostAPIV1EventsSlackInitialize(cfg Config) http.HandlerFunc { `) if _, err := cfg.driver.ExecContext(r.Context(), ` INSERT - INTO initialization (token, updated) + INTO initialization (label, token, updated) VALUES ('slack_events_webhook_token', $1, $2) `, challenge.Token, time.Now().UTC()); err != nil { http.Error(w, err.Error(), http.StatusInternalServerError)