diff --git a/scripts/deploy.py b/scripts/deploy.py index 1eb5894..a5c9a99 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -103,9 +103,9 @@ def new_doi(self): """ response = requests.post( "https://zenodo.org/api/deposit/depositions", - params=params, + params=self.params, json={}, - headers=headers, + headers=self.headers, ) if response.status_code not in [200, 201]: sys.exit(