From 54916139af8a3447230c03fee9e64d4e342052c5 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Tue, 6 Aug 2024 18:38:02 +0800 Subject: [PATCH] this.getAll is not a function --- pages/volunteer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/volunteer.tsx b/pages/volunteer.tsx index e307be4..8901e3f 100644 --- a/pages/volunteer.tsx +++ b/pages/volunteer.tsx @@ -15,7 +15,7 @@ const { t } = i18n; export const getServerSideProps = compose(cache(), errorLogger, async () => { const contributors: Contributor[] = // @ts-ignore - await new repositoryStore('kaiyuanshe').getAllContributors(); + await repositoryStore.getAllContributors(); return { props: { contributors } }; });