NOISSUE - Fix pub subtopic in RE

Signed-off-by: Dusan Borovcanin <borovcanindusan1@gmail.com>
This commit is contained in:
Dusan Borovcanin
2025-04-08 23:50:02 +02:00
parent 352cc663f4
commit 58aca168c8
+1
View File
@@ -327,6 +327,7 @@ func (re *re) process(ctx context.Context, r Rule, msg interface{}) error {
Created: time.Now().Unix(),
Payload: []byte(result.String()),
Channel: r.OutputChannel,
Subtopic: r.OutputTopic,
}
return re.pubSub.Publish(ctx, m.Channel, m)
}