Skip to content

Commit

Permalink
feat: pass looksrare api key
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeleg committed Aug 7, 2023
1 parent 96c9603 commit 09ad9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const config = {
offersOpenseaApiKey: String(process.env.OFFERS_OPENSEA_API_KEY || ""),
collectionsOffersOpenseaApiKey: String(process.env.COLLECTIONS_OFFERS_OPENSEA_API_KEY || ""),
x2y2ApiKey: String(process.env.X2Y2_API_KEY),
looksrareApiKey: String(process.env.LOOKSRARE_API_KEY),
elementApiKey: String(process.env.ELEMENT_API_KEY),
coinbaseApiKey: String(process.env.COINBASE_API_KEY),
blurApiKey: String(process.env.BLUR_API_KEY),
Expand Down
1 change: 1 addition & 0 deletions src/jobs/looksrare-v2-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const fetchOrders = async (
config.chainId === 1
? {
headers: {
"X-Looks-Api-Key": config.looksrareApiKey,
"user-agent":
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0",
},
Expand Down

0 comments on commit 09ad9c2

Please sign in to comment.