More question marks
This commit is contained in:
parent
90d46244c3
commit
49a1d98e0c
@ -62,7 +62,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
const id = `${now.getTime()}${crypto.randomUUID().replaceAll("-", "")}`;
|
const id = `${now.getTime()}${crypto.randomUUID().replaceAll("-", "")}`;
|
||||||
|
|
||||||
await context.env.D1.prepare(
|
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(
|
.bind(
|
||||||
context.data.body.answer || null,
|
context.data.body.answer || null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user