test position array

pull/403/head
Rebecca-Chou 10 months ago
parent bb743f4ca6
commit f09580151f
  1. 3
      lib/members.ts
  2. 3
      lib/team.ts

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

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

Loading…
Cancel
Save