Skip to content

Commit

Permalink
Merge pull request #66 from aadyanthaya/merchant_log_change
Browse files Browse the repository at this point in the history
blockonomics secret key for callback URL
  • Loading branch information
DarrenWestwood authored Jun 2, 2023
2 parents 3587f80 + 5a9150d commit 8d862ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockonomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _get_history_for_addresses(self, addresses: list) -> dict:
api_key = configloader.user_cfg["Bitcoin"]["api_key"]

url = "https://www.blockonomics.co/api/merchant_logs"
body = {"match_callback": f"https://www.blockonomics.co/api/test_callback?secret={Blockonomics._get_secret()}"}
body = {"match_callback": Blockonomics._get_secret()}
headers = { "Authorization": "Bearer %s" % api_key }

r = requests.get(
Expand Down

0 comments on commit 8d862ea

Please sign in to comment.