remove author name

This commit is contained in:
aarizona 2024-05-02 12:33:20 +03:00
parent 1990c9a48d
commit f07439de54
1 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ async def intgr(request: Request):
bx_res = requests.get(
"https://crm.svs-tech.pro/rest/38/7ufrqnfpncmt279p/task.commentitem.add.json?"
f"taskId={number}&fields[POST_MESSAGE]={body['commits'][0]['message']}"
"&fields[AUTHOR_NAME]=GITEA INTEGRATION"
f"taskId={number}"
f"&fields[POST_MESSAGE]={body['commits'][0]['message']}"
)
logger.info(f"result {json.loads(bx_res.text)}")
return {"status": "success"}