We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b31a5c commit 7907d73Copy full SHA for 7907d73
src/services/rank.ts
@@ -37,14 +37,14 @@ function mapCompactUsers(users: User[]) {
37
userId,
38
score,
39
tag,
40
- claims: tokens.length
+ // claims: tokens.length
41
}))
42
}
43
44
export async function getRankService(
45
users: User[]
46
): Promise<RankRequestResult> {
47
- const isRankEnabled = false
+ const isRankEnabled = true
48
if (!isRankEnabled) {
49
return {
50
status: 'sucess',
src/types.ts
@@ -47,7 +47,7 @@ export type CompactUser = {
userId: string
score: number
tag: string
- claims: number
+ claims?: number
51
softDeleted?: boolean
52
53
0 commit comments