From 2f023de2537ef830928507e32347800ed1ef3283 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Sun, 2 Mar 2025 17:45:03 +0800 Subject: [PATCH] add --- .../app/main/my-path/components/MyPathListContainer.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx b/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx index 33e0346..b7dfd33 100644 --- a/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx +++ b/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx @@ -17,7 +17,12 @@ export default function MyPathListContainer() { pageSize: 12, where: { type: PostType.PATH, - authorId: user.id, + students: { + some: { + id: user?.id, + }, + }, + ...termsCondition, ...searchCondition, },