From 5beebf166855ca00e8320b9ca330a047d28f0ca2 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sat, 27 Dec 2025 16:52:26 +0330 Subject: [PATCH] update sms count route --- .../notifications/controllers/notifications.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/notifications/controllers/notifications.controller.ts b/src/modules/notifications/controllers/notifications.controller.ts index 0d1aa5f..1952192 100644 --- a/src/modules/notifications/controllers/notifications.controller.ts +++ b/src/modules/notifications/controllers/notifications.controller.ts @@ -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 })