Skip to content

Commit fad3916

Browse files
committed
Update actions/cache to v4
1 parent 282aba9 commit fad3916

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

getOfficers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ export default async function getOfficerData(
2828
},
2929
];
3030

31-
return officers.filter((officer) => officer.position.toLowerCase().includes(committeeName.toLowerCase()));
31+
return officers.filter((officer) =>
32+
officer.position.toLowerCase().includes(committeeName.toLowerCase()),
33+
);
3234
}

scripts/landing-page-generator.mjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,18 @@ const SPREADSHEET_ID = process.env.LANDING_SPREADSHEET_ID;
1313
async function getCommitteeInfo(name) {
1414
// const committees = await getGoogleSheetData('committee info!A:J'); // Commented out
1515
const committees = [
16-
['Cloud', 'ACM Cloud', 'Subtitle', 'Description', 'logo.png', 'discord.com', 'instagram.com', 'email@example.com', 'favicon.ico', 'background.png'],
16+
[
17+
'Cloud',
18+
'ACM Cloud',
19+
'Subtitle',
20+
'Description',
21+
'logo.png',
22+
'discord.com',
23+
'instagram.com',
24+
'email@example.com',
25+
'favicon.ico',
26+
'background.png',
27+
],
1728
]; // Mock data to prevent build errors
1829
const committee = [];
1930
//get committee

0 commit comments

Comments
 (0)