Skip to content

Commit

Permalink
fix: unverified desc sort createdAt
Browse files Browse the repository at this point in the history
  • Loading branch information
NivedhaSV committed Dec 17, 2024
1 parent 17a71d5 commit 2132886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/back-office/components/member-request-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2132886

Please sign in to comment.