mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
publish audit advisories to the correct subject
Signed-off-by: R.I.Pienaar <rip@devco.net>
This commit is contained in:
@@ -1637,7 +1637,7 @@ func (s *Server) jsConsumerDeleteRequest(sub *subscription, c *client, subject,
|
||||
|
||||
// sendJetStreamAPIAuditAdvisor will send the audit event for a given event.
|
||||
func (s *Server) sendJetStreamAPIAuditAdvisory(c *client, subject, request, response string) {
|
||||
s.publishAdvisory(c.acc, subject, JSAPIAudit{
|
||||
s.publishAdvisory(c.acc, JSAuditAdvisory, JSAPIAudit{
|
||||
TypedEvent: TypedEvent{
|
||||
Type: JSAPIAuditType,
|
||||
ID: nuid.Next(),
|
||||
|
||||
Reference in New Issue
Block a user