From 2156a7f1df52970b5ab0816dd1da5dc7cefc1dae Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Mon, 29 Dec 2025 09:08:44 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Update=20user=5Fsubscribe?= =?UTF-8?q?=5Fid=20reference=20in=20RowMoreActions=20to=20use=20row.id=20f?= =?UTF-8?q?or=20correct=20token=20reset=20and=20status=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/src/sections/user/user-subscription/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/admin/src/sections/user/user-subscription/index.tsx b/apps/admin/src/sections/user/user-subscription/index.tsx index 5a2c755..a8caf1f 100644 --- a/apps/admin/src/sections/user/user-subscription/index.tsx +++ b/apps/admin/src/sections/user/user-subscription/index.tsx @@ -338,7 +338,7 @@ function RowMoreActions({ )} onConfirm={async () => { await resetUserSubscribeToken({ - user_subscribe_id: row.subscribe_id, + user_subscribe_id: row.id, }); toast.success( t("resetTokenSuccess", "Subscription address reset successfully") @@ -365,7 +365,7 @@ function RowMoreActions({ } onConfirm={async () => { await toggleUserSubscribeStatus({ - user_subscribe_id: row.subscribe_id, + user_subscribe_id: row.id, }); toast.success( row.status === 5