Formatting
This commit is contained in:
parent
b4ff2da7f5
commit
c089594c7f
@ -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 }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user