Refactor Category and Center schemas to improve field descriptions and code clarity; update email templates for consistency in messaging. Add Redis service to CenterSchema for session management. Bump epess-database subproject commit reference to indicate changes. Clean up logging in ClerkService and ServiceSchema.
This commit is contained in:
@@ -364,7 +364,6 @@ export class ServiceSchema extends PothosSchema {
|
||||
const mentorEmails = await prisma.user.findMany({
|
||||
where: { id: { in: mentorIds } },
|
||||
})
|
||||
Logger.log(mentorEmails, 'ServiceSchema')
|
||||
const emails = [centerOwner.email, ...mentorEmails.map((mentor) => mentor.email)]
|
||||
if (args.approve) {
|
||||
await this.mailService.sendTemplateEmail(emails, 'Thông báo về trạng thái dịch vụ', 'ServiceApproved', {
|
||||
|
||||
Reference in New Issue
Block a user