From 6ef6b7911db588adbb6701c4ec556d3a35066aac Mon Sep 17 00:00:00 2001 From: "Mamadou Khoussa [028918 DSI/DAC/DIF/DS]" Date: Wed, 17 Dec 2025 18:57:25 +0000 Subject: [PATCH] update default role to default-roles-dcb-prod --- src/controllers/webhook.controller.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/webhook.controller.ts b/src/controllers/webhook.controller.ts index 0bcd6df..9a77388 100644 --- a/src/controllers/webhook.controller.ts +++ b/src/controllers/webhook.controller.ts @@ -31,7 +31,7 @@ export class WebhookController { @Post('sms-mo/:operator/:country') @HttpCode(HttpStatus.CREATED) - @Roles({ roles: ['admin_webhook'] }) + @Roles({ roles: ['default-roles-dcb-prod'] }) @ApiOperation({ summary: 'Receive callback for SMS MO notification' }) @ApiBody({ type: InboundSMSMessageNotificationWrapperDto }) @ApiCreatedResponse({ @@ -60,7 +60,7 @@ export class WebhookController { @Post('subscription/:operator/:country') @HttpCode(HttpStatus.CREATED) - @Roles({ roles: ['admin_webhook'] }) + @Roles({ roles: ['default-roles-dcb-prod'] }) @ApiOperation({ summary: 'Receive callback for management of subscription' }) @ApiBody({ type: SubscriptionDto }) @ApiCreatedResponse({ @@ -88,7 +88,7 @@ export class WebhookController { @Get('he/:operator/:country') @HttpCode(HttpStatus.OK) - @Roles({ roles: ['admin_webhook'] }) + @Roles({ roles: ['default-roles-dcb-prod'] }) @ApiOperation({ summary: 'Receive callback for HE notification' }) @ApiOkResponse({ description: 'HE notification successfully queued',