chore: add loger for the telegram sender

This commit is contained in:
mahyargdz
2025-03-28 16:10:12 +03:30
parent cb9860853e
commit 0b62341908
13 changed files with 200 additions and 85 deletions
@@ -317,7 +317,7 @@ export class NotificationsService {
// //************************ */
async createRucurringInvoiceNotification(recipientId: string, data: IInvoiceNotificationData, queryRunner: QueryRunner) {
async createRecurringInvoiceNotification(recipientId: string, data: IInvoiceNotificationData, queryRunner: QueryRunner) {
const message = NotificationMessage.RECURRING_INVOICE_MESSAGE.replace("[invoiceNumber]", data.invoiceId);
//sent notification based on the userSettings
const { isActive } = await this.userSettingsService.getUserNotificationSettingWithType(NotifType.RECURRING_INVOICE, recipientId);