Add company filter to Lob list addresses
...even though I never made it actually work.
This commit is contained in:
parent
ffd424df12
commit
8387cf667b
7 changed files with 42 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue