Skip to content

Commit

Permalink
fix: pagination on marketplace ids
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Mar 8, 2024
1 parent 748a8b8 commit 48d3dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "climate-tokenization-engine",
"version": "1.3.18",
"version": "1.3.19",
"bin": "./src/server.js",
"description": "",
"main": "proxy.js",
Expand Down
2 changes: 1 addition & 1 deletion src/api/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ const waitForRegistryDataSync = async (options = {}) => {
*/
const getTokenizedUnitByAssetId = async (assetId) => {
try {
const url = `${registryUri}/v1/units?marketplaceIdentifiers=${assetId}`;
const url = `${registryUri}/v1/units?marketplaceIdentifiers=${assetId}&page=1&limit=100`;
logger.debug(`GET ${url}`);
const response = await superagent.get(url).set(maybeAppendRegistryApiKey());

Expand Down

0 comments on commit 48d3dad

Please sign in to comment.