Bel LaPointe 2024-04-17 17:32:07 -06:00
parent 1e43c2a14e
commit 8557ddc522
1 changed files with 1 additions and 1 deletions

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)