mirror of
https://github.com/Xevion/glance.git
synced 2025-12-09 18:07:15 -06:00
Move engagement calculation inside widget
This commit is contained in:
@@ -110,7 +110,5 @@ func FetchSubredditPosts(subreddit, sort, topPeriod, search, commentsUrlTemplate
|
||||
posts = append(posts, forumPost)
|
||||
}
|
||||
|
||||
posts.CalculateEngagement()
|
||||
|
||||
return posts, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user