boo
parent
1e43c2a14e
commit
8557ddc522
2
main.go
2
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue