Skip to content

Commit 76de4cd

Browse files
committed
Update auth config
1 parent 217dabb commit 76de4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func NewCollector(socketPath string, client *client.Client, logger zerolog.Logge
8585
excludeRegex: excludeRegex,
8686
}
8787

88-
if auth.TeamID != "" && auth.UserID != "" {
88+
if auth.TeamID != "" && auth.UserEmail != "" {
8989
collector.protoAuthConfig = &gen.Auth{
9090
UserId: auth.UserID,
9191
TeamId: auth.TeamID,

0 commit comments

Comments
 (0)