fix query from payment per tier plan

This commit is contained in:
rgrgogu
2026-07-30 23:09:40 +08:00
parent c698351127
commit 975b16b8c6
3 changed files with 3 additions and 3 deletions
@@ -13,7 +13,7 @@ export default function PaymentList() {
useEffect(() => {
fetchPayments({
filters: planId ? [{ field: "plan_id", value: planId }] : [],
filters: planId ? [{ id: "plan_id", value: planId }] : [],
});
}, [planId]);
+1 -1
View File
@@ -722,7 +722,7 @@ function PaymentsTab({ planId }) {
const { fetchPayments } = useTiers();
useEffect(() => {
fetchPayments({ filters: [{ field: "plan_id", value: planId }] });
fetchPayments({ filters: [{ id: "plan_id", value: planId }] });
}, [planId]);
return <PaymentsTable planId={planId} />;