upd: status respon

Deskripsi:
- update status respon pada jabatan

No Issues
This commit is contained in:
amel
2024-07-29 12:07:34 +08:00
parent 9dd8611992
commit 45dfe0f0c6
3 changed files with 10 additions and 10 deletions

View File

@@ -19,6 +19,6 @@ export async function createlPosition(req: Request) {
return Response.json(positions, { status: 201 });
} catch (error) {
console.error(error);
return Response.json({ message: "Internal Server Error" }, { status: 500 });
return Response.json({ success: false, message: "Internal Server Error" }, { status: 500 });
}
}