update sms count route

This commit is contained in:
2025-12-27 16:52:26 +03:30
parent 829f09fdb4
commit 5beebf1668
@@ -155,9 +155,9 @@ export class NotificationsController {
return this.preferenceService.updatePreference(preferenceId, restaurantId, dto);
}
@UseGuards(SuperAdminAuthGuard)
// @UseGuards(SuperAdminAuthGuard)
@ApiBearerAuth()
@Get('super-admin/sms-count')
@Get('super-admin/notifications/sms-count')
@ApiOperation({ summary: 'Get SMS count for each restaurant with pagination' })
@ApiQuery({ name: 'page', required: false, type: Number, description: 'Page number (default: 1)', minimum: 1 })
@ApiQuery({ name: 'limit', required: false, type: Number, description: 'Items per page (default: 10)', minimum: 1 })