Skip to content

Commit

Permalink
improve switch readability
Browse files Browse the repository at this point in the history
  • Loading branch information
huumn committed Dec 18, 2024
1 parent 228f194 commit 548c82f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/resolvers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export async function topUsers (parent, { cursor, when, by, from, to, limit = LI
case 'comments': column = 'ncomments'; break
case 'referrals': column = 'referrals'; break
case 'stacking': column = 'stacked'; break
case 'value':
default: column = 'proportion'; break
}

Expand Down

0 comments on commit 548c82f

Please sign in to comment.