update default role to default-roles-dcb-prod
This commit is contained in:
parent
5d7b628516
commit
6ef6b7911d
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user