Apache Airflow version
2.2.2 (latest released)
What happened
If I pause/unpause dag in Tree, Graph, or Gantt page, /paused url is calling twice.

So paused events are logging twice.

What you expected to happen
It should be logging only once.
How to reproduce
Go to Tree, Graph, or Gantt page. And pause/unpause it.
Operating System
centos
Versions of Apache Airflow Providers
No response
Deployment
Other 3rd-party Helm chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
2.2.2 (latest released)
What happened
If I pause/unpause dag in
Tree,Graph, orGanttpage,/pausedurl is calling twice.So paused events are logging twice.

What you expected to happen
It should be logging only once.
How to reproduce
Go to
Tree,Graph, orGanttpage. And pause/unpause it.Operating System
centos
Versions of Apache Airflow Providers
No response
Deployment
Other 3rd-party Helm chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct