oh my god

This commit is contained in:
Akis 2023-01-08 21:34:10 +02:00
parent 97abb5e263
commit a24fc12345
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -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");