mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-03 06:42:19 +00:00
Fix link, order by most users desc, fix date
This commit is contained in:
parent
5a884fe3d9
commit
ac25bbc896
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue