Skip to content

Commit

Permalink
Filter deactivated accounts from the undisbursed endpoint (#2331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo committed Jan 19, 2022
1 parent 68f5bd5 commit 6ec2b06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def get_undisbursed_challenges(
UserChallenge.is_complete == True,
Challenge.active == True,
User.is_current == True,
User.is_deactivated == False,
)
.order_by(
asc(UserChallenge.completed_blocknumber),
Expand Down

0 comments on commit 6ec2b06

Please sign in to comment.