Skip to content

Conversation

@theDRB123
Copy link

changes:

  • modified mempool frontend: project component to use paging

this.apiBaseUrl + this.apiBasePath + '/api/v1/query/Angor/projects/' + angorId + '/investments'
this.apiBaseUrl + this.apiBasePath + '/api/v1/query/Angor/projects/' + angorId + '/investments' +
(from == undefined ? '' : '?offset=' + from) +
(limit == undefined ? '' : '&limit=' + limit)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if offset is null and limit is not null then we will get a badly formed url.
perhaps you should use the queryParams like in the method getAngorProjects
that will probably correctly append the ? and &

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@theDRB123 theDRB123 force-pushed the paging-on-investor-ui branch from 3ab6cbe to 66fe4ad Compare May 30, 2025 04:15
@theDRB123 theDRB123 force-pushed the paging-on-investor-ui branch from 66fe4ad to f171411 Compare May 30, 2025 04:16
@dangershony dangershony merged commit 8e19c51 into block-core:master Jun 2, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants