fix: top boosts shows others' unpaid boosts (#1647)

This commit is contained in:
soxa 2024-12-01 02:06:10 +01:00 committed by GitHub
parent d88971e8e5
commit 0b97d2ae94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ export default {
subClause(sub, 5, subClauseTable(type), me, showNsfw),
typeClause(type),
whenClause(when, 'Item'),
activeOrMine(me),
await filterClause(me, models, type),
by === 'boost' && '"Item".boost > 0',
muteClause(me))}