From 11fa0b80e0ff779195ffcd1741fde3f91547c493 Mon Sep 17 00:00:00 2001 From: CoGomu Date: Mon, 16 Jun 2025 20:48:53 +0200 Subject: [PATCH] remove line 83 set description to "" --- backend/src/main.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main.ts b/backend/src/main.ts index 5de35c9..5090dae 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -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()