Skip to content

Commit

Permalink
print status code
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 3, 2024
1 parent d1dbfd1 commit fb26921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/firecloud_api/firecloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def poll_submission_status(self, submission_id):
print(f"Status response: {status_response.text}")
print(f"Status code: {status_response.status_code}")

if status_response.status_code == 401:
if status_response.status_code == 200:
print("Token expired, refreshing token...")
new_token = self.refresh_token()
print(f"New token: {new_token}")
Expand Down

0 comments on commit fb26921

Please sign in to comment.