repair: notification error sparepart
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user