From 69c27a906c130e06f25fcdc42b3dc8ba3332b9ed Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Mon, 15 Apr 2024 19:40:24 -0500 Subject: [PATCH] Emergency bug fix --- pages/api/volunteer-logs/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/api/volunteer-logs/index.ts b/pages/api/volunteer-logs/index.ts index d5bbec7..cf60e72 100644 --- a/pages/api/volunteer-logs/index.ts +++ b/pages/api/volunteer-logs/index.ts @@ -18,6 +18,8 @@ export default async function handler( await dbConnect(); // TODO: remove this after development + Users.find(); + VolunteerEvents.find(); const logs = (await VolunteerLogs.find() .populate({ path: 'user' })