From a17e066f342d53b3137f777b561acf05e153c554 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 29 Sep 2024 11:12:38 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=83Sync=20enhancements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/index.php | 4 ++- front/php/templates/security.php | 46 +++++++++++++++++++++++--------- front/plugins/sync/sync.py | 2 +- 3 files changed, 37 insertions(+), 15 deletions(-) diff --git a/front/index.php b/front/index.php index b84d29f0..897135e3 100755 --- a/front/index.php +++ b/front/index.php @@ -3,7 +3,9 @@ diff --git a/front/plugins/sync/sync.py b/front/plugins/sync/sync.py index a7560b19..05e1468e 100755 --- a/front/plugins/sync/sync.py +++ b/front/plugins/sync/sync.py @@ -305,7 +305,7 @@ def get_data(api_token, node_url): api_endpoint = f"{node_url}/plugins/sync/hub.php" response = requests.get(api_endpoint, headers=headers) - # mylog('verbose', [f'[{pluginName}] response: "{response}"']) + # mylog('verbose', [f'[{pluginName}] response: "{response.text}"']) if response.status_code == 200: try: