Removed irrelevant filter
This commit is contained in:
@ -15,7 +15,7 @@ func Best(ctx *aero.Context) string {
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
quotes := arn.FilterQuotes(func(track *arn.Quote) bool {
|
||||
return !track.IsDraft && len(track.Text.English) > 0
|
||||
return !track.IsDraft
|
||||
})
|
||||
|
||||
arn.SortQuotesPopularFirst(quotes)
|
||||
@ -41,7 +41,7 @@ func BestFrom(ctx *aero.Context) string {
|
||||
}
|
||||
|
||||
allQuotes := arn.FilterQuotes(func(track *arn.Quote) bool {
|
||||
return !track.IsDraft && len(track.Text.English) > 0
|
||||
return !track.IsDraft
|
||||
})
|
||||
|
||||
if index < 0 || index >= len(allQuotes) {
|
||||
|
Reference in New Issue
Block a user