mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
@@ -2,6 +2,7 @@ package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/arangodb/go-driver"
|
||||
|
||||
@@ -33,6 +34,10 @@ func (s *Service) publishRequest(ctx context.Context, err error, function string
|
||||
userID = user.ID
|
||||
}
|
||||
|
||||
go s.bus.PublishRequest(userID, function, ids)
|
||||
go func() {
|
||||
if err := s.bus.PublishRequest(userID, function, ids); err != nil {
|
||||
log.Println(err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user