Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@
HITLDetailResponse,
UpdateHITLDetailPayload,
)
from airflow.api_fastapi.execution_api.deps import JWTBearerTIPathDep
from airflow.models.hitl import HITLDetail

router = APIRouter()
router = APIRouter(
dependencies=[
# This checks that the UUID in the url matches the one in the token for us.
JWTBearerTIPathDep
]
)

log = structlog.get_logger(__name__)

Expand Down