Skip to content

Commit

Permalink
Update generate_and_send_infographics_images.py
Browse files Browse the repository at this point in the history
fix telegram trigger command
  • Loading branch information
tkalir authored Apr 12, 2024
1 parent efbfa68 commit 0edaa31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow_server/dags/generate_and_send_infographics_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
)

0 comments on commit 0edaa31

Please sign in to comment.