fix: update sheet display and sidebar items
This commit is contained in:
parent
282ef825cb
commit
9158bfe82c
3 changed files with 8 additions and 28 deletions
|
|
@ -42,7 +42,7 @@ export const POST = auth(async function POST(req: Request) {
|
|||
if (req.auth?.user?.email == null) {
|
||||
return
|
||||
}
|
||||
const title = json.messages[0].content.substring(0, 20)
|
||||
const title = json.messages[0].content.substring(0, 100)
|
||||
const userId = (req as any).auth?.user?.email
|
||||
const id = json.id ?? nanoid()
|
||||
const createdAt = Date.now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue