fix(services): correct spelling errors
This commit is contained in:
parent
bb493700f0
commit
9cb29cd400
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user