Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another question mark
  • Loading branch information
regalijan committed Feb 26, 2024
1 parent f1fa3c8 commit dc849b4
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, details, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?);",
"INSERT INTO events (answer, created_at, created_by, day, details, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?);",
)
.bind(
context.data.body.answer || null,
Expand Down

0 comments on commit dc849b4

Please sign in to comment.