test position array
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rebecca-Chou 2022-02-16 23:42:40 +08:00
parent bb743f4ca6
commit f09580151f
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,7 @@ export interface Member {
}
const execPositions: { [name: string]: number } = {
presidentcro: 1,
president: 1,
"vice-president": 2,
secretary: 3,
treasurer: 4,
@ -36,7 +36,6 @@ export async function getMembers(year: string, term: Term): Promise<Member[]> {
0,
1
)}${year}))`,
explicitBufferAttributes: ["position"],
});
members = searchEntries

View File

@ -12,7 +12,7 @@ const fileType = ".md";
const { year, term } = getCurrentTerm();
const execPositions: { [name: string]: number } = {
presidentcro: 1,
president: 1,
"vice-president": 2,
secretary: 3,
treasurer: 4,
@ -60,7 +60,6 @@ export async function getExecNames() {
0,
1
)}${year}))`,
explicitBufferAttributes: ["position"],
});
execMembers = searchEntries