fix(standalone): Ensure correct URL param value for standalone mode (#33234)

This commit is contained in:
Vitor Avila
2025-04-24 16:41:42 -03:00
committed by Michael S. Molina
parent 692d47c79d
commit 5b178dfbc7

View File

@@ -135,7 +135,7 @@ class Superset(BaseSupersetView):
endpoint = f"/explore/?form_data={form_data}"
if ReservedUrlParameters.is_standalone_mode():
endpoint += f"&{ReservedUrlParameters.STANDALONE}=true"
endpoint += f"&{ReservedUrlParameters.STANDALONE.value}=true"
return redirect(endpoint)
def get_query_string_response(self, viz_obj: BaseViz) -> FlaskResponse: