forked from ProjectSegfault/website
oh my god
This commit is contained in:
parent
97abb5e263
commit
a24fc12345
@ -23,7 +23,9 @@ export const actions: Actions = {
|
|||||||
const now = Math.floor(Date.now() / 1000);
|
const now = Math.floor(Date.now() / 1000);
|
||||||
const data = {
|
const data = {
|
||||||
...Object.fromEntries(formData.entries()),
|
...Object.fromEntries(formData.entries()),
|
||||||
created: now
|
created: now,
|
||||||
|
createdAt: now,
|
||||||
|
updatedAt: now
|
||||||
};
|
};
|
||||||
|
|
||||||
await db.delete("*").from("Announcements");
|
await db.delete("*").from("Announcements");
|
||||||
|
Loading…
Reference in New Issue
Block a user