mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
✌️
This commit is contained in:
parent
79b055e237
commit
5ed4dd2fe8
@ -50,7 +50,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
}
|
||||
|
||||
const hots = data[0].tags
|
||||
.sort((a, b) => a.count - b.count)
|
||||
.sort((a, b) => b.count - a.count)
|
||||
.map(tag => tag.tag)
|
||||
.slice(0, 10);
|
||||
|
||||
@ -76,7 +76,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
chart: countsLog.map(counts => counts[i])
|
||||
}));
|
||||
|
||||
console.log(stats);
|
||||
|
||||
res(stats);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user