Skip to content

Commit

Permalink
Update api_endpoint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-nork authored Oct 26, 2023
1 parent 4feb467 commit ac06dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chirps/asset/providers/api_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def decrypted_api_key(self):

def _send_request(self, message: str) -> requests.Response:
# Convert headers JSON string into a dictionary
headers_dict = json.loads(self.headers) if self.headers else {}
headers_dict = self.headers or {}

# Build the request headers
headers = headers_dict.copy()
Expand Down

0 comments on commit ac06dde

Please sign in to comment.