From d3317b35262ad6697324e1cc408be3c2d7c35ea7 Mon Sep 17 00:00:00 2001 From: Leon Charl du Toit Date: Thu, 14 Mar 2024 12:24:00 +0100 Subject: [PATCH] use underscore in token name --- tsdapiclient/tacl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdapiclient/tacl.py b/tsdapiclient/tacl.py index 0581129..1fdac91 100644 --- a/tsdapiclient/tacl.py +++ b/tsdapiclient/tacl.py @@ -552,7 +552,7 @@ def cli( click.echo('download not authorized with basic auth') sys.exit(1) elif env != 'alt' and api_key: - requires_user_credentials, token_type = False, 'export-auto' + requires_user_credentials, token_type = False, 'export_auto' else: requires_user_credentials, token_type = True, TOKENS[env]['download'] else: