remove line 83 set description to ""
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user