update default role to default-roles-dcb-prod

This commit is contained in:
Mamadou Khoussa [028918 DSI/DAC/DIF/DS] 2025-12-17 19:01:59 +00:00
parent 9ef596e80e
commit 2d725188aa

View File

@ -32,7 +32,7 @@ export class WebhookController {
@Post('sms-mo/:operator/:country') @Post('sms-mo/:operator/:country')
@HttpCode(HttpStatus.CREATED) @HttpCode(HttpStatus.CREATED)
@Roles({ roles: ['default-roles-dcb-prod'] }) //@Roles({ roles: ['default-roles-dcb-prod'] })
@ApiOperation({ summary: 'Receive callback for SMS MO notification' }) @ApiOperation({ summary: 'Receive callback for SMS MO notification' })
@ApiBody({ type: InboundSMSMessageNotificationWrapperDto }) @ApiBody({ type: InboundSMSMessageNotificationWrapperDto })
@ApiCreatedResponse({ @ApiCreatedResponse({
@ -61,7 +61,7 @@ export class WebhookController {
@Post('subscription/:operator/:country') @Post('subscription/:operator/:country')
@HttpCode(HttpStatus.CREATED) @HttpCode(HttpStatus.CREATED)
@Roles({ roles: ['default-roles-dcb-prod'] }) //@Roles({ roles: ['default-roles-dcb-prod'] })
@ApiOperation({ summary: 'Receive callback for management of subscription' }) @ApiOperation({ summary: 'Receive callback for management of subscription' })
@ApiBody({ type: SubscriptionDto }) @ApiBody({ type: SubscriptionDto })
@ApiCreatedResponse({ @ApiCreatedResponse({
@ -89,7 +89,7 @@ export class WebhookController {
@Get('he/:operator/:country') @Get('he/:operator/:country')
@HttpCode(HttpStatus.OK) @HttpCode(HttpStatus.OK)
@Roles({ roles: ['default-roles-dcb-prod'] }) //@Roles({ roles: ['default-roles-dcb-prod'] })
@ApiOperation({ summary: 'Receive callback for HE notification' }) @ApiOperation({ summary: 'Receive callback for HE notification' })
@ApiOkResponse({ @ApiOkResponse({
description: 'HE notification successfully queued', description: 'HE notification successfully queued',