test markdown

This commit is contained in:
Kseninia Mikhaylova 2024-08-20 11:29:05 +03:00
parent 538da5a8ba
commit 23f106bf1d
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ async def tg_intgr_get(request: Request):
comment_body = " ".join(comment_data.split(" ")[:100])
comment = (
f"Упоминание в задаче от {comment_data_json['result']['AUTHOR_NAME']}\n"
f"Задача: {task_data_json['result']['task']['id']} {task_data_json['result']['task']['title']}"
f"https://crm.svs-tech.pro/company/personal/user/{bx_id}/tasks/task/view/{task_id}/ \n"
f"Упоминание от {comment_data_json['result']['AUTHOR_NAME']}\n"
f"Задача #{task_data_json['result']['task']['id']} [**{task_data_json['result']['task']['title']}**]"
f"(https://crm.svs-tech.pro/company/personal/user/{bx_id}/tasks/task/view/{task_id}/)\n\n"
) + comment_body
requests.get(