From 9cb29cd4009887aaee3a096ba48cb781e86666bf Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Mon, 28 Jul 2025 10:55:41 +0800 Subject: [PATCH] fix(services): correct spelling errors --- apps/notification/backend/services/template_message_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/notification/backend/services/template_message_service.py b/apps/notification/backend/services/template_message_service.py index 11cf2b1..046e69d 100644 --- a/apps/notification/backend/services/template_message_service.py +++ b/apps/notification/backend/services/template_message_service.py @@ -1,4 +1,5 @@ from backend.models.models import MessageTemplateDoc +from datetime import datetime class TemplateMessageService: ## operations for global templates, conducted by platform admin @@ -79,7 +80,7 @@ class TemplateMessageService: results.append({"template_id": template_id, "success": True, "template_db_id": str(new_template.id)}) return results - # Custome templates by tenant + # Custom templates by tenant async def create_template(self, template:MessageTemplateDoc, tenant_id: str): template.tenant_id = tenant_id return await template.create()