diff --git a/services/notification_error_sparepart.service.js b/services/notification_error_sparepart.service.js index 6f6620d..1e79b3c 100644 --- a/services/notification_error_sparepart.service.js +++ b/services/notification_error_sparepart.service.js @@ -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);