Skip to content

Commit

Permalink
Update emgapianns/management/lib/create_or_update_study.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martín Beracochea <[email protected]>
  • Loading branch information
MGS-sails and mberacochea authored May 2, 2024
1 parent 105b848 commit 2fe394c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emgapianns/management/lib/create_or_update_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fe394c

Please sign in to comment.