Skip to content

Commit

Permalink
refactor token
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 12, 2024
1 parent 4043727 commit 2f0d118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/firecloud_api/firecloud_api2.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def poll_job_status(self, submission_id):

# Continuously poll the status of the submission until completion
while True:
status_response = requests.get(status_url, headers=self.headers)
status_response = requests.get(status_url, headers=self.build_auth_headers(self.delegated_creds.token))

# Check if the response status code is successful (200)
if status_response.status_code != 200:
Expand Down

0 comments on commit 2f0d118

Please sign in to comment.