Brew: Amundsen hazyday hero (#6)

* New brew: amundsen hazyday hero

* Helper script for adding new brews
This commit is contained in:
2023-06-24 21:02:52 +02:00
committed by GitHub
parent 94c27b0a8d
commit 5575d01e63
6 changed files with 150 additions and 107 deletions

View File

@@ -21,7 +21,7 @@ async function fetchGraphData(brew) {
export const load = (async ({ params }) => {
const { date } = params;
const brew = brews.find((b) => b?.date === date);
const brew = brews.brews.find((b) => b?.date === date);
if (!brew) {
throw error(404, 'Brew not found');