mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 13:45:09 +00:00
make multi tenancy based on namespace and ID of account (#85)
* make multi tenancy based on namespace and ID of account not just namespace * fix tests
This commit is contained in:
@@ -27,5 +27,5 @@ func (s *Streams) Publish(ctx context.Context, req *pb.Message, rsp *pb.PublishR
|
||||
|
||||
// publish the message
|
||||
logger.Infof("Publishing message to topic: %v", req.Topic)
|
||||
return s.Events.Publish(fmtTopic(acc.Issuer, req.Topic), req.Message)
|
||||
return s.Events.Publish(fmtTopic(acc, req.Topic), req.Message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user