chore: clean up code formatting and remove unnecessary whitespace across multiple files for improved readability
This commit is contained in:
@@ -45,10 +45,7 @@ export async function POST(request: Request) {
|
||||
const { title, collaborator } = body;
|
||||
|
||||
if (!title || !collaborator) {
|
||||
return NextResponse.json(
|
||||
{ error: 'Titre et collaborateur requis' },
|
||||
{ status: 400 }
|
||||
);
|
||||
return NextResponse.json({ error: 'Titre et collaborateur requis' }, { status: 400 });
|
||||
}
|
||||
|
||||
const newSession = await prisma.session.create({
|
||||
@@ -68,4 +65,3 @@ export async function POST(request: Request) {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user