edit president to presidentcro
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rebecca-Chou 2022-02-16 20:15:27 +08:00
parent f96d776259
commit 9a1ecf82bd
2 changed files with 2 additions and 3 deletions

View File

@ -33,8 +33,7 @@ export async function getMembers(year: string, term: Term): Promise<Member[]> {
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) =>

View File

@ -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,