Remove solve endpoint
This commit is contained in:
parent
e6826690c3
commit
ee7b549256
@ -1,11 +0,0 @@
|
||||
export async function onRequestPost(context: RequestContext) {
|
||||
await context.env.D1.prepare(
|
||||
"UPDATE events SET answered_at = ? WHERE id = ?;",
|
||||
)
|
||||
.bind(Date.now(), context.data.event.id)
|
||||
.run();
|
||||
|
||||
return new Response(null, {
|
||||
status: 204,
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user