✌️
This commit is contained in:
parent
c0a3ae2612
commit
c3e375e8a5
3 changed files with 15 additions and 11 deletions
|
@ -52,7 +52,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
const hots = data[0].tags
|
||||
.sort((a, b) => b.count - a.count)
|
||||
.map(tag => tag.tag)
|
||||
.slice(0, 10);
|
||||
.slice(0, 5);
|
||||
|
||||
const countPromises: Array<Promise<number[]>> = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue