Skip to content

Commit

Permalink
Merge pull request #104 from reservoirprotocol/idan/platf-1954-looksr…
Browse files Browse the repository at this point in the history
…are-apis-require-key-from-august-9

feat: pass looksrare api key
  • Loading branch information
ipeleg authored Aug 7, 2023
2 parents 96c9603 + 09ad9c2 commit d6f79b5
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 d6f79b5

Please sign in to comment.