Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More question marks
  • Loading branch information
regalijan committed Feb 22, 2024
1 parent 90d4624 commit 49a1d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/events-team/events/new.ts
Expand Up @@ -62,7 +62,7 @@ export async function onRequestPost(context: RequestContext) {
const id = `${now.getTime()}${crypto.randomUUID().replaceAll("-", "")}`;

await context.env.D1.prepare(
"INSERT INTO events (answer, created_at, created_by, day, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?);",
"INSERT INTO events (answer, created_at, created_by, day, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?);",
)
.bind(
context.data.body.answer || null,
Expand Down

0 comments on commit 49a1d98

Please sign in to comment.