From 017ce48835fa75cafa6d34cc9c712e71f7fff69f Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 24 Nov 2025 12:02:16 -0500 Subject: [PATCH] Finally fix leaderboard hiding --- functions/api/reports/[id]/action.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/api/reports/[id]/action.ts b/functions/api/reports/[id]/action.ts index 1497f72..e40a776 100644 --- a/functions/api/reports/[id]/action.ts +++ b/functions/api/reports/[id]/action.ts @@ -69,10 +69,10 @@ export async function onRequestPost(context: RequestContext) { // If not a ban action if (v === 1) { - newActions[user].hidden_from_leaderboards = true; + newActions[k].hidden_from_leaderboards = true; } else if (v === 3) { - newActions[user].serverconfigurator_blacklist = true; - newActions[user].BanType = 1; + newActions[k].serverconfigurator_blacklist = true; + newActions[k].BanType = 1; } }