From 2132886a7668c9e71df204c03c86fe329373494a Mon Sep 17 00:00:00 2001 From: NivedhaSV Date: Tue, 17 Dec 2024 16:09:23 +0530 Subject: [PATCH] fix: unverified desc sort createdAt --- apps/back-office/components/member-request-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/back-office/components/member-request-list.tsx b/apps/back-office/components/member-request-list.tsx index 4f3dac16c..a4b4cd178 100644 --- a/apps/back-office/components/member-request-list.tsx +++ b/apps/back-office/components/member-request-list.tsx @@ -31,7 +31,7 @@ const MemberRequestList = (props: any) => { }; const [listData, unVerifiedMembers] = await Promise.all([ api.get(`${API_ROUTE.PARTICIPANTS_REQUEST}?status=PENDING`, config), - api.get(`${API_ROUTE.MEMBERS}?isVerified=false&pagination=false&orderBy=-createdA`, config), + api.get(`${API_ROUTE.MEMBERS}?isVerified=false&pagination=false&orderBy=-createdAt`, config), ]); const pendingMembers = listData.data.filter((item) => item.participantType === ENROLLMENT_TYPE.MEMBER);