From 2fe394ce0e376163473c3b78bdaaa2654dee5273 Mon Sep 17 00:00:00 2001 From: Mahfouz Shehu Date: Thu, 2 May 2024 09:21:27 +0100 Subject: [PATCH] Update emgapianns/management/lib/create_or_update_study.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martín Beracochea --- emgapianns/management/lib/create_or_update_study.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emgapianns/management/lib/create_or_update_study.py b/emgapianns/management/lib/create_or_update_study.py index 7522f1beb..df0603028 100644 --- a/emgapianns/management/lib/create_or_update_study.py +++ b/emgapianns/management/lib/create_or_update_study.py @@ -316,7 +316,7 @@ def verify_study_ownership(self, study_id, submission_account_id): "accept": "*/*", "Authorization": f"Basic {b64encode(auth_string.encode()).decode()}" } - response = requests.get(url, params=None, headers=headers) + response = requests.get(url, headers=headers) ownership_verified = False if response.status_code == 200 and study_id in response.text: ownership_verified = True