push code ne

This commit is contained in:
2024-10-28 01:08:13 +07:00
parent 571bb93e28
commit eec9fcfeff
20 changed files with 296 additions and 118 deletions

View File

@@ -80,15 +80,18 @@ export class UserSchema extends PothosSchema {
customerChatRoom: t.relation('customerChatRoom', {
description: 'The customer chat room of the user.',
}),
centerStaffChatRoom: t.relation('centerStaffChatRoom', {
description: 'The center staff chat room of the user.',
mentorChatRoom: t.relation('mentorChatRoom', {
description: 'The mentor chat room of the user.',
}),
centerStaff: t.relation('centerStaff', {
description: 'The center staff of the user.',
mentor: t.relation('mentor', {
description: 'The mentor of the user.',
}),
workshopSubscription: t.relation('workshopSubscription', {
description: 'The workshop subscription of the user.',
}),
adminNote: t.relation('adminNote', {
description: 'The admin note of the user.',
}),
}),
});
}
@@ -242,7 +245,7 @@ export class UserSchema extends PothosSchema {
await this.mailService.sendTemplateEmail(
args.to,
'Bạn đã được mời làm việc tại Trung tâm băng đĩa lậu hải ngoại',
'StaffInvitation',
'MentorInvitation',
{
center_name: 'băng đĩa lậu hải ngoại',
invite_url: 'https://epess.org',