POST /api/v1/events/slack asserts .token==$SLACK_TOKEN

This commit is contained in:
Bel LaPointe
2024-04-11 17:11:43 -06:00
parent 2372fa8bb9
commit 6a6524692a
2 changed files with 16 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ import (
type Config struct {
Port int
InitializeSlack bool
SlackToken string
}
func newConfig() (Config, error) {