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