Add company filter to Lob list addresses

...even though I never made it actually work.
This commit is contained in:
Eli Ribble 2026-04-20 22:33:20 +00:00
parent ffd424df12
commit 8387cf667b
No known key found for this signature in database
7 changed files with 42 additions and 6 deletions

View file

@ -47,7 +47,7 @@ func SetEventChannel(chan_envelopes <-chan platform.Envelope) {
go func() {
for envelope := range chan_envelopes {
for conn, _ := range connectionsSSE {
if conn.organizationID == envelope.OrganizationID || conn.organizationID == 0 {
if conn.organizationID == envelope.OrganizationID || envelope.OrganizationID == 0 {
log.Debug().Int("type", int(envelope.Event.Type)).Int32("env-org", envelope.OrganizationID).Msg("pushed event to client")
conn.chanEvent <- envelope.Event
} else if conn.userID == envelope.UserID {