Fix link, order by most users desc, fix date

This commit is contained in:
idanoo 2023-01-30 12:41:36 +13:00
parent 5a884fe3d9
commit ac25bbc896
Signed by: idanoo
GPG key ID: 387387CDBC02F132
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ func Run() {
if len(updatedMetrics) > 0 {
// Sort by counts!
sort.Slice(updatedMetrics, func(i, j int) bool {
return updatedMetrics[i].MetricValue < updatedMetrics[j].MetricValue
return updatedMetrics[i].MetricValue > updatedMetrics[j].MetricValue
})
sendToMatrix(updatedMetrics)