Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions api/v1_users_challenges.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ func (app *ApiServer) v1UsersChallenges(c *fiber.Ctx) error {

-- Start with the list of all active challenges, and then
-- apply the user's user challenges and disbursements.
-- Filter out incomplete trending challenges,
-- verified-only challenges if not verified
-- and non-verified only challenges if verified.
all_user_challenges AS (
Expand All @@ -56,7 +55,6 @@ func (app *ApiServer) v1UsersChallenges(c *fiber.Ctx) error {
ON user_challenges_filtered.challenge_id = challenge_disbursements_filtered.challenge_id
AND user_challenges_filtered.specifier = challenge_disbursements_filtered.specifier
WHERE challenges.active
AND (challenges.type != 'trending' OR user_challenges_filtered.is_complete)
AND NOT (challenges.id IN ('rv', 's') AND NOT user_row.is_verified)
AND NOT (challenges.id IN ('r') AND user_row.is_verified)
),
Expand Down