fixing webhookservice config
This commit is contained in:
parent
9b06c771a2
commit
1ed8d6854d
@ -13,15 +13,10 @@ export class WebhookService {
|
|||||||
private readonly rabbitMQService: RabbitMQService,
|
private readonly rabbitMQService: RabbitMQService,
|
||||||
private configService: ConfigService,
|
private configService: ConfigService,
|
||||||
) {
|
) {
|
||||||
this.smsMoQueue = this.configService.get(
|
const config = this.configService.get('appConfig.queues');
|
||||||
'RABBITMQ_QUEUE_WEBHOOK',
|
this.smsMoQueue = config.smsmo as string;
|
||||||
) as string;
|
this.heQueue = config.he as string;
|
||||||
this.heQueue = this.configService.get(
|
this.subscriptionEventQueue = config.subscription as string;
|
||||||
'RABBITMQ_QUEUE_NOTIFICATION',
|
|
||||||
) as string;
|
|
||||||
this.subscriptionEventQueue = this.configService.get(
|
|
||||||
'RABBITMQ_QUEUE_PAYMENT',
|
|
||||||
) as string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async smsMoNotification(
|
async smsMoNotification(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user