From 0edaa31380d845fabf15dc457b0de2229c59cd45 Mon Sep 17 00:00:00 2001 From: tkalir Date: Fri, 12 Apr 2024 19:04:34 +0300 Subject: [PATCH] Update generate_and_send_infographics_images.py fix telegram trigger command --- airflow_server/dags/generate_and_send_infographics_images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow_server/dags/generate_and_send_infographics_images.py b/airflow_server/dags/generate_and_send_infographics_images.py index 62d7221..3fa9795 100644 --- a/airflow_server/dags/generate_and_send_infographics_images.py +++ b/airflow_server/dags/generate_and_send_infographics_images.py @@ -27,7 +27,7 @@ ) >> \ CliBashOperator( cmd='anyway-etl anyway-kubectl-exec python3 main.py ' - 'telegram publish-notification --id {{ dag_run.conf["news_flash_id"] }} ' + 'telegram send-notification --id {{ dag_run.conf["news_flash_id"] }} ' '--chat {{ dag_run.conf["chat_id"] }}', task_id='send-infographics-to-telegram' - ) \ No newline at end of file + )