This commit is contained in:
Flummi 2018-09-02 17:51:47 +02:00
parent b695c42b98
commit 6eed83a033

View File

@ -49,7 +49,7 @@ export default bot => {
user: list.user, user: list.user,
comments: item.comments.length, comments: item.comments.length,
toptags: item.tags toptags: item.tags
.sort((a, b) => a.confidence - b.confidence) .sort((a, b) => a.confidence < b.confidence)
.splice(0, 3) .splice(0, 3)
.map(tag => tag.tag), .map(tag => tag.tag),
link: site + id.toString() link: site + id.toString()