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',