From 8d4c8afef88b88023fe8a3f00b08f1257837a7be Mon Sep 17 00:00:00 2001 From: Scott Weber Date: Tue, 31 Jan 2023 14:21:37 -0500 Subject: [PATCH] Forgot two ID uppercasings Co-authored-by: Tulir Asokan --- config/config.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index ea5463f..326f859 100644 --- a/config/config.go +++ b/config/config.go @@ -25,7 +25,7 @@ type Config struct { *bridgeconfig.BaseConfig `yaml:",inline"` SegmentKey string `yaml:"segment_key"` - SegmentUserId string `yaml:"segment_user_id"` + SegmentUserID string `yaml:"segment_user_id"` Metrics struct { Enabled bool `yaml:"enabled"` diff --git a/main.go b/main.go index 23f4bb9..1876d75 100644 --- a/main.go +++ b/main.go @@ -93,7 +93,7 @@ func (br *WABridge) Init() { Segment.log = br.Log.Sub("Segment") Segment.key = br.Config.SegmentKey - Segment.userID = br.Config.SegmentUserId + Segment.userID = br.Config.SegmentUserID if Segment.IsEnabled() { Segment.log.Infoln("Segment metrics are enabled") if Segment.userID != "" {