Skip to content

Commit 98a914a

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e73e602 commit 98a914a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/tableau/tableau_refresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def main() -> None:
3535
tableau_token_value = os.getenv("TABLEAU_TOKEN_VALUE")
3636
tableau_site = os.getenv("TABLEAU_SITE_ID", "NHSD_DEV")
3737
tableau_server_url = os.getenv("TABLEAU_SERVER_URL")
38-
datasource_id = os.getenv("TABLEAU_DATE_SOURCE_ID")
38+
datasource_id = os.getenv("TABLEAU_DATASOURCE_ID") or os.getenv("TABLEAU_DATE_SOURCE_ID")
3939

4040
# Validate required env vars
4141
if not tableau_token_name or not tableau_token_value:

0 commit comments

Comments
 (0)