mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-23 13:40:00 +05:30
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 data = {
|
||||
...Object.fromEntries(formData.entries()),
|
||||
created: now
|
||||
created: now,
|
||||
createdAt: now,
|
||||
updatedAt: now
|
||||
};
|
||||
|
||||
await db.delete("*").from("Announcements");
|
||||
|
Loading…
Reference in New Issue
Block a user