Skip to content

Commit

Permalink
Fix PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi authored and jscheffl committed Jun 8, 2024
1 parent 8342580 commit 7755ceb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4129,7 +4129,7 @@ components:
readOnly: true
nullable: true
description: |
Task documentation.
Task documentation in markdown.
*New in version 2.10.0*
Expand Down
3 changes: 1 addition & 2 deletions airflow/www/static/js/api/useTaskDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export default function useTaskDetail({ taskId }: { taskId: string }) {
return useQuery(["taskDetails", taskId], async () => {
const url = taskDetailURI.replace("_TASK_ID_", taskId);

const datum = await axios.get<AxiosResponse, API.Task>(url);
return datum;
return axios.get<AxiosResponse, API.Task>(url);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const TaskDocumentation = ({ taskId }: Props) => {
<AccordionButton p={0} fontSize="inherit">
<Box flex="1" textAlign="left">
<Text as="strong" size="lg">
Task Documentation:
Task Documentation
</Text>
</Box>
<AccordionIcon />
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/static/js/types/api-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ export interface components {
sub_dag?: components["schemas"]["DAG"];
downstream_task_ids?: string[];
/**
* @description Task documentation.
* @description Task documentation in markdown.
*
* *New in version 2.10.0*
*/
Expand Down

0 comments on commit 7755ceb

Please sign in to comment.