Skip to content

Commit 290a314

Browse files
committed
Local testing
1 parent 4c2583c commit 290a314

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.changeset/selfish-eagles-destroy.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/bx-digital-adapter': patch
3+
---
4+
5+
Lol

packages/sources/bx-digital/src/transport/price.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ export const httpTransport = new HttpTransport<HttpTransportTypes>({
2222
baseURL: config.API_ENDPOINT,
2323
headers: {
2424
'API-key': config.API_KEY,
25-
'User-Agent': config.API_USER_AGENT,
25+
'User-Agent':
26+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
27+
Accept:
28+
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
29+
'Accept-Language': 'en-US,en;q=0.5',
30+
Referer: 'https://example.com',
2631
},
2732
},
2833
}

0 commit comments

Comments
 (0)