Merge pull request #3 from Danakcorp/uploader

fix(uploader): test log
This commit is contained in:
saharbolboliankhah
2025-10-28 15:30:07 +03:30
committed by GitHub
@@ -38,6 +38,8 @@ export class EmailService {
//########################################################
async sendEmail(wildduckUserId: string, userId: string, sendEmailDto: SendEmailDto) {
this.logger.log(`-----------------------------------sendEmail-----------------------------------------------------`);
const user = await this.userRepository.findOne({ wildduckUserId, deletedAt: null }, { populate: ["business"] });
if (!user) throw new BadRequestException(EmailMessage.USER_NOT_FOUND);
this.logger.log(`Processing email through business template for business: ${user.business.id}`);