sms count

This commit is contained in:
2026-01-06 09:54:29 +03:30
parent 3d6006f2e3
commit 955893e022
3 changed files with 28 additions and 2 deletions
@@ -275,4 +275,8 @@ export class NotificationService {
): Promise<PaginatedResult<{ restaurantId: string; restaurantName: string; smsCount: number }>> {
return this.smsLogRepository.getSmsCountByRestaurant(page, limit);
}
async getSmsCountByRestaurantId(restaurantId: string): Promise<number> {
return this.smsLogRepository.getSmsCountByRestaurantId(restaurantId);
}
}