diff --git a/app/routes/events-team.tsx b/app/routes/events-team.tsx index 7de010a..37b88a6 100644 --- a/app/routes/events-team.tsx +++ b/app/routes/events-team.tsx @@ -16,7 +16,7 @@ import { type ReactNode } from "react"; export async function loader({ context }: { context: RequestContext }) { const now = new Date(); const monthEventList = await context.env.D1.prepare( - "SELECT * FROM events WHERE month = ? AND year = ?;", + "SELECT created_by, day, month, type, year FROM events WHERE month = ? AND year = ?;", ) .bind(now.getUTCMonth() + 1, now.getUTCFullYear()) .all();