[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-05-05 06:25:23 +00:00 committed by xr843
parent 9909742371
commit 11c8a4bfa8

View File

@ -56,7 +56,9 @@ class TraceAppConfigApi(Resource):
args = TraceProviderQuery.model_validate(request.args.to_dict(flat=True)) # type: ignore
try:
trace_config = OpsService.get_tracing_app_config(app_id=app_model.id, tracing_provider=args.tracing_provider)
trace_config = OpsService.get_tracing_app_config(
app_id=app_model.id, tracing_provider=args.tracing_provider
)
if not trace_config:
return {"has_not_configured": True}
return trace_config