First order must be closeTime
This commit is contained in:
parent
b9ab4b4f14
commit
5c0c013d70
|
@ -24,6 +24,7 @@ async function getTrendingContracts() {
|
|||
.where('isResolved', '==', false)
|
||||
.where('closeTime', '>', Date.now() + DAY_MS)
|
||||
.where('visibility', '==', 'public')
|
||||
.orderBy('closeTime', 'asc')
|
||||
.orderBy('popularityScore', 'desc')
|
||||
.limit(50)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user