From 7a5fa1f09bbeab66c895776c2832e8406b2b6224 Mon Sep 17 00:00:00 2001 From: Guille Date: Thu, 9 May 2024 15:55:45 +0200 Subject: [PATCH] reintroduce security --- hub_api/workflow/insel_montly_energy_balance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hub_api/workflow/insel_montly_energy_balance.py b/hub_api/workflow/insel_montly_energy_balance.py index ed54fdb..50ffbaf 100644 --- a/hub_api/workflow/insel_montly_energy_balance.py +++ b/hub_api/workflow/insel_montly_energy_balance.py @@ -71,7 +71,6 @@ class InselMonthlyEnergyBalance(Resource, Config): token = request.headers.get('token', None) application_uuid = request.headers.get('application-uuid', None) _session = refresh_session(session_id, token, application_uuid) - _session = {'token': token} if _session is None: return Response(json.dumps({'error': 'unauthorized'}), status=403) else: