mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 18:25:45 +01:00
✌️
This commit is contained in:
parent
7d7193cb63
commit
7cca509eb3
1 changed files with 1 additions and 3 deletions
|
@ -50,7 +50,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const hots = data[0].tags
|
const hots = data[0].tags
|
||||||
.sort((a, b) => a.count - b.count)
|
.sort((a, b) => b.count - a.count)
|
||||||
.map(tag => tag.tag)
|
.map(tag => tag.tag)
|
||||||
.slice(0, 10);
|
.slice(0, 10);
|
||||||
|
|
||||||
|
@ -76,7 +76,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
chart: countsLog.map(counts => counts[i])
|
chart: countsLog.map(counts => counts[i])
|
||||||
}));
|
}));
|
||||||
|
|
||||||
console.log(stats);
|
|
||||||
|
|
||||||
res(stats);
|
res(stats);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue