fixing webhookservice config
This commit is contained in:
parent
9b06c771a2
commit
1ed8d6854d
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user