Specify only to use text (#37)

This commit is contained in:
Luke Tainton 2023-05-08 18:16:43 +01:00 committed by GitHub
parent 398f114867
commit 202d502d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ from webexteamssdk.models.cards import (
from webexteamssdk.models.cards.actions import Submit
from app.utils.config import config
from app.utils.n8n import submit_task, get_tasks
from app.utils.n8n import get_tasks, submit_task
log: logging.Logger = logging.getLogger(__name__)
@ -47,7 +47,7 @@ class SubmitTaskCommand(Command):
size=FontSize.MEDIUM,
),
TextBlock(
f"Add a task to {config.admin_first_name}'s To Do list. All fields are required.",
f"Add a task to {config.admin_first_name}'s To Do list. All fields are required. Please don't use special characters.",
wrap=True,
isSubtle=True,
),