mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
lint
This commit is contained in:
@@ -159,10 +159,7 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id:
|
||||
deleteError
|
||||
)
|
||||
await deleteDocument(firstDocument.documentId, requestId).catch(() => {})
|
||||
return NextResponse.json(
|
||||
{ error: 'Failed to replace existing document' },
|
||||
{ status: 500 }
|
||||
)
|
||||
return NextResponse.json({ error: 'Failed to replace existing document' }, { status: 500 })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user