diff --git a/lib/members.ts b/lib/members.ts index f11396aa..77fb9589 100644 --- a/lib/members.ts +++ b/lib/members.ts @@ -33,8 +33,7 @@ export async function getMembers(year: string, term: Term): Promise { return { name: item.cn as string, id: item.uid as string, - program: item.position === undefined ? "" : (item.position as string), - // Test position field + program: item.program === undefined ? "" : (item.program as string), }; }) .sort((item1: Member, item2: Member) => diff --git a/lib/team.ts b/lib/team.ts index b601703c..01cfd419 100644 --- a/lib/team.ts +++ b/lib/team.ts @@ -13,7 +13,7 @@ const fileType = ".md"; const { year, term } = getCurrentTerm(); const execPositions: { [name: string]: number } = { - president: 1, + presidentcro: 1, "vice-president": 2, secretary: 3, treasurer: 4,