From 9f9a60a732def7f0b8a54fc097fc278462f8864b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 29 May 2026 19:49:43 +0800 Subject: [PATCH] fix: use data_url instead of get_data_url to match JSON key --- xls2ddl/tmpls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xls2ddl/tmpls.py b/xls2ddl/tmpls.py index 619513d..ee477f0 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -41,8 +41,8 @@ data_browser_tmpl = """ {% endif %} }, {% endif %} -{% if get_data_url %} - "data_url": "{{get_data_url}}", +{% if data_url %} + "data_url": "{{data_url}}", {% else %} "data_url":"{%- raw -%}{{entire_url('./get_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}",{%- endraw %} {% endif %}