repair: notification error sparepart

This commit is contained in:
2025-12-04 14:31:41 +07:00
parent 73b4abfd68
commit be80206056

View File

@@ -51,7 +51,7 @@ static async update(id, data) {
const dataExist = await getNotificationErrorSparepartByIdDb(id);
if (dataExist.length < 1) {
throw new ErrorHandler(404, 'Roles not found');
throw new ErrorHandler(404, 'Notification Error Sparepart not found');
}
const result = await updateNotificationErrorSparepartDb(id, data);