implement redis cache for context

This commit is contained in:
2024-10-29 00:56:23 +07:00
parent ae1aa64b41
commit 34cea2ccd3
18 changed files with 477 additions and 55 deletions

View File

@@ -262,7 +262,7 @@ export class CenterSchema extends PothosSchema {
if (args.approve) {
try {
await this.mailService.sendTemplateEmail(
centerOwner.email,
[centerOwner.email],
'Thông báo phê duyệt đăng ký trung tâm',
'CenterApproved',
{
@@ -277,7 +277,7 @@ export class CenterSchema extends PothosSchema {
// mail to center owner if rejected
try {
await this.mailService.sendTemplateEmail(
centerOwner.email,
[centerOwner.email],
'Thông báo từ chối đăng ký trung tâm',
'CenterRejected',
{