Formatting

This commit is contained in:
Gabriel Brown 2024-07-23 15:24:53 -05:00
parent b4ff2da7f5
commit c089594c7f

View File

@ -35,6 +35,9 @@ export const GET = async (request: Request) => {
} }
} catch (error) { } catch (error) {
console.error('Error fetching employees:', error); console.error('Error fetching employees:', error);
return NextResponse.json({ message: 'Internal server error' }, { status: 500 }); return NextResponse.json(
{ message: 'Internal server error' },
{ status: 500 }
);
} }
}; };