Notifications
This commit is contained in:
@@ -3,7 +3,8 @@ import { EmailLogRepository } from 'src/model/repositories/log';
|
||||
|
||||
@Injectable()
|
||||
export class LogService {
|
||||
constructor(private readonly emailLogRepo: EmailLogRepository) {}
|
||||
constructor(private readonly emailLogRepo: EmailLogRepository) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +17,6 @@ export class LogService {
|
||||
private async logEmail(data: EmailLogDto) {
|
||||
const log = this.emailLogRepo.create(data);
|
||||
const logEntry = await this.emailLogRepo.save(log);
|
||||
console.log(logEntry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user