Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Return performed_at property in event list query
  • Loading branch information
regalijan committed Mar 6, 2024
1 parent 50e4979 commit b070373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/events-team.tsx
Expand Up @@ -48,7 +48,7 @@ export async function loader({ context }: { context: RequestContext }) {

const now = new Date();
const monthEventList = await context.env.D1.prepare(
"SELECT answer, approved, created_by, day, details, id, month, pending, reached_minimum_player_count, type, year FROM events WHERE month = ? AND year = ? ORDER BY day ASC;",
"SELECT answer, approved, created_by, day, details, id, month, pending, performed_at, reached_minimum_player_count, type, year FROM events WHERE month = ? AND year = ? ORDER BY day ASC;",
)
.bind(now.getUTCMonth() + 1, now.getUTCFullYear())
.all();
Expand Down

0 comments on commit b070373

Please sign in to comment.