From e776ec4f70b094fd86a6b197d5d14cb632863abd Mon Sep 17 00:00:00 2001 From: francisco-leal Date: Fri, 23 Feb 2024 19:07:17 +0000 Subject: [PATCH] fix top followers --- app/controllers/frames_controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/frames_controller.ts b/app/controllers/frames_controller.ts index 3261f9c..48ed9a7 100644 --- a/app/controllers/frames_controller.ts +++ b/app/controllers/frames_controller.ts @@ -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) } @@ -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')