fix: Correction in the generation of the queue name 'rabbit'

Fixes a bug in the generation of the 'rabbit' queue name in the 'channel.service.ts' file. The variable 'transformedWe' was replaced by 'event' to generate the queue name. This ensures that the queue name is generated correctly, avoiding possible errors or malfunctions in the system.
This commit is contained in:
Davidson Gomes 2024-06-30 11:25:12 -03:00
parent b5683aed2a
commit 8e72983304

View File

@ -732,7 +732,7 @@ export class ChannelStartupService {
autoDelete: false,
});
const queueName = transformedWe;
const queueName = event;
await amqp.assertQueue(queueName, {
durable: true,