Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 15x 15x 15x 9x 2x 2x | import { Injectable } from '@nestjs/common';
import { LoggerService } from '@app/common/services/logger.service';
@Injectable()
export class NotificationService {
constructor(private readonly logger: LoggerService) {}
async sendEmail(to: string, subject: string, body: string) {
// TODO: Integrate with real email provider
this.logger.info('Sending email', { to, subject, body });
return true;
}
async sendSMS(to: string, message: string) {
// TODO: Integrate with real SMS provider
this.logger.info('Sending SMS', { to, message });
return true;
}
} |