add link to task
This commit is contained in:
parent
dd5f72ab7f
commit
5f51b3cadc
|
@ -58,6 +58,7 @@ async def tg_intgr_get(request: Request):
|
|||
data = requests.get(get_comment_hook)
|
||||
data_json = data.json()
|
||||
comment = data_json["result"]["POST_MESSAGE"]
|
||||
comment += f'\nhttps://crm.svs-tech.pro/company/personal/user/{bx_id}/tasks/task/view/{task_id}/'
|
||||
|
||||
mentions = re.findall(rf"\[USER=({bx_id})\]", comment)
|
||||
for _ in mentions:
|
||||
|
|
Loading…
Reference in New Issue