remove line 83 set description to ""

This commit is contained in:
CoGomu
2025-06-16 20:48:53 +02:00
parent daa147c009
commit 11fa0b80e0

View File

@@ -79,7 +79,6 @@ app.post('/task', async(req, res) => {
app.post('/event', async(req, res) => {
const newEvent: typeof event.$inferInsert = req.body
newEvent.description = ""
newEvent.userid = userId
const returnedEvent = await db.insert(event).values(newEvent).returning()