@@ -16,7 +16,7 @@ module.exports = async (ctx) => {
|
||||
.get()
|
||||
.map((i) => {
|
||||
const item = $(i);
|
||||
const itemScore = parseFloat(item.attr('data-score')) || 10;
|
||||
const itemScore = parseFloat(item.attr('data-score')) || 0;
|
||||
if (itemScore >= score) {
|
||||
return {
|
||||
title: item.attr('data-title'),
|
||||
|
||||
Reference in New Issue
Block a user