From acf6f11b8073c12edc8f3d5b5ccc8371ea2f303b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 19 Nov 2022 00:04:35 -0800 Subject: [PATCH] fix patrons --- packages/backend/src/server/api/endpoints/patrons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/patrons.ts b/packages/backend/src/server/api/endpoints/patrons.ts index 21f8d67177..6cdd1fac14 100644 --- a/packages/backend/src/server/api/endpoints/patrons.ts +++ b/packages/backend/src/server/api/endpoints/patrons.ts @@ -19,7 +19,7 @@ export default define(meta, paramDef, async () => { await fetch('https://codeberg.org/thatonecalculator/calckey/raw/branch/develop/patrons.json') .then((response) => response.json()) .then((data) => { - patrons = data[0]; + patrons = data['patrons']; }); return {