Skip to content

Commit

Permalink
Fix minor error (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
athuyaoo authored Aug 25, 2020
1 parent b423f54 commit 004ca0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const parseMeal = (
// returns Breakfast object
const getBreakfast = (week: number, day: number) => {
const sheet = SpreadsheetApp.openById(breakfastMenuSheetId).getSheetByName(
`Week ${week % 4}`
`Week ${week}`
);
if (!sheet) return;

Expand Down

0 comments on commit 004ca0f

Please sign in to comment.