fixing webhookservice config

This commit is contained in:
KurtisMelkisedec 2025-10-30 23:27:40 +00:00
parent 9b06c771a2
commit 1ed8d6854d

View File

@ -13,15 +13,10 @@ export class WebhookService {
private readonly rabbitMQService: RabbitMQService,
private configService: ConfigService,
) {
this.smsMoQueue = this.configService.get(
'RABBITMQ_QUEUE_WEBHOOK',
) as string;
this.heQueue = this.configService.get(
'RABBITMQ_QUEUE_NOTIFICATION',
) as string;
this.subscriptionEventQueue = this.configService.get(
'RABBITMQ_QUEUE_PAYMENT',
) as string;
const config = this.configService.get('appConfig.queues');
this.smsMoQueue = config.smsmo as string;
this.heQueue = config.he as string;
this.subscriptionEventQueue = config.subscription as string;
}
async smsMoNotification(