guan404ming commented on code in PR #50746: URL: https://github.com/apache/airflow/pull/50746#discussion_r2106245501
########## airflow-core/src/airflow/ui/src/queries/useLogs.tsx: ########## @@ -120,13 +121,14 @@ const parseLogs = ({ data, logLevelFilters, sourceFilters, taskInstance, tryNumb }; export const useLogs = ( - { dagId, logLevelFilters, sourceFilters, taskInstance, tryNumber = 1 }: Props, + { accept, dagId, logLevelFilters, sourceFilters, taskInstance, tryNumber = 1 }: Props, options?: Omit<UseQueryOptions<TaskInstancesLogResponse>, "queryFn" | "queryKey">, ) => { const refetchInterval = useAutoRefresh({ dagId }); const { data, ...rest } = useTaskInstanceServiceGetLog( { + accept: accept ?? "application/json", Review Comment: Updated! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org