Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Excluding former holders in holders endpoint #349

Merged
merged 3 commits into from
Jul 6, 2022
Merged

Conversation

purplesmoke05
Copy link
Member

@purplesmoke05 purplesmoke05 commented Jul 6, 2022

Fix #347
(Related to #346)

Comment on lines +173 to +174
# If there is no position, set default value(0) to each balance.
_position = IDXPosition(balance=0, exchange_balance=0, exchange_commitment=0, pending_transfer=0)
Copy link
Member Author

@purplesmoke05 purplesmoke05 Jul 6, 2022

Choose a reason for hiding this comment

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

If no records found, this will return 200.

@YoshihitoAso YoshihitoAso merged commit 6f30fdd into dev-22.9 Jul 6, 2022
@YoshihitoAso YoshihitoAso deleted the fix/#347 branch July 6, 2022 08:57
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