Skip to content

Commit

Permalink
fix top followers
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-leal committed Feb 23, 2024
1 parent a9ea6e0 commit e776ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/frames_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class FramesController {
.orderBy('score', 'desc')
.limit(5)

return view.render('pages/leaderboard', { topUsers })
return view.render('pages/top_followers', { topUsers, fid })
} else if (message.button === 4) {
return response.redirect().toPath(REDIRECT_URL)
}
Expand Down Expand Up @@ -150,7 +150,7 @@ export default class FramesController {
.orderBy('score', 'desc')
.limit(5)

return view.render('pages/leaderboard', { topUsers })
return view.render('pages/top_followers', { topUsers, fid })
} else if (message.button === 3) {
// search
return view.render('pages/search')
Expand Down

0 comments on commit e776ec4

Please sign in to comment.