Skip to content

Commit

Permalink
fix: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeroman committed Feb 8, 2024
1 parent 5831408 commit af17186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jobs/seaport-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const fetchOrders = async (
const headers: any = {
url,
"X-API-KEY": !_.includes([5, 80001, 84531, 999, 11155111], config.chainId)
? details?.apiKey || config.realtimeOpenseaApiKey
: "",
? details?.apiKey || config.realtimeOpenseaApiKey
: "",
};

if (config.openseaApiUrl && config.openseaNftApiKey) {
Expand Down Expand Up @@ -153,7 +153,7 @@ export const fetchOrders = async (
} else {
logger.error(
"fetch_orders_seaport",
`Seaport - Error. side=${side}, cursor=${cursor}, url=${url}, apiKey=${details?.apiKey}, realtimeOpenseaApiKey=${config.realtimeOpenseaApiKey}, error=${error}`
`Seaport - Error. side=${side}, cursor=${cursor}, url=${url}, apiKey=${details?.apiKey}, realtimeOpenseaApiKey=${config.realtimeOpenseaApiKey}, error=${error}, stack=${error.stack}`
);
}

Expand Down

0 comments on commit af17186

Please sign in to comment.