This commit is contained in:
Bel LaPointe
2024-04-17 17:32:07 -06:00
parent 1e43c2a14e
commit 8557ddc522

View File

@@ -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)