From e93872d42c7844e0d03716855a4f1750e59f6c97 Mon Sep 17 00:00:00 2001 From: jasquat <2487833+jasquat@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:18:17 -0400 Subject: [PATCH] set debug to False for the xero getCurrencies command w/ burnettk (#9) Co-authored-by: burnettk --- .../connector-xero/connector_xero/commands/getCurrencies.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/connectors/connector-xero/connector_xero/commands/getCurrencies.py b/connectors/connector-xero/connector_xero/commands/getCurrencies.py index 66cb7d8..f2ebac7 100644 --- a/connectors/connector-xero/connector_xero/commands/getCurrencies.py +++ b/connectors/connector-xero/connector_xero/commands/getCurrencies.py @@ -48,9 +48,11 @@ class GetCurrencies: token_store = {} token_store_key = "token" + # NOTE: setting debug to True causes xero to cache the client when + # it's in a working state api_client = ApiClient( Configuration( - debug=True, + debug=False, oauth2_token=OAuth2Token( client_id=self.client_id, client_secret=self.client_secret ),