feat: Add Model gestion for piece and component
This commit is contained in:
@@ -180,9 +180,7 @@ export class PiecesService {
|
||||
});
|
||||
|
||||
if (!composant) {
|
||||
throw new BadRequestException(
|
||||
'Le composant spécifié est introuvable.',
|
||||
);
|
||||
throw new BadRequestException('Le composant spécifié est introuvable.');
|
||||
}
|
||||
|
||||
if (composant.machineId) {
|
||||
|
||||
Reference in New Issue
Block a user