Skip to content

Commit

Permalink
fix: add api key for rarible
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeroman committed Aug 13, 2023
1 parent 4867303 commit d9bb31f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jobs/rarible-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ export const fetchOrdersByTimestamp = async (
try {
const response = await axios.get(url, {
timeout: 10000,
headers: {
"X-Api-Key":
blockchain === "ETHEREUM"
? "252a5dfe-df6d-406a-92b8-62b47a7cc218"
: "6a2f432b-4103-45d2-bd9a-700ecab0228c",
},
});

let orders: RaribleOrder[] = response.data.orders.filter(
Expand Down

0 comments on commit d9bb31f

Please sign in to comment.