Skip to content

Commit 2f9f995

Browse files
committed
corrct paramter
1 parent ee9accb commit 2f9f995

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/plugin-nft-collections/src/services/reservoir.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ export class ReservoirService {
7272
await this.rateLimiter.consume("reservoir", 1);
7373
}
7474
const reservoirApiKey = runtime.getSetting("RESERVOIR_API_KEY");
75-
75+
console.log(
76+
"########################################################################################################################",
77+
`https://api.reservoir.tools${endpoint}?${new URLSearchParams(
78+
params
79+
).toString()}`
80+
);
7681
// Make the request with retries
7782
const result = await pRetry(
7883
async () => {
@@ -160,7 +165,7 @@ export class ReservoirService {
160165
{
161166
limit: currentLimit,
162167
offset,
163-
sortBy: "volume24h",
168+
sortBy: "1DayVolume",
164169
},
165170
1,
166171
runtime

0 commit comments

Comments
 (0)