Workflows
This commit is contained in:
@@ -27,11 +27,15 @@ export class SystemService {
|
||||
}
|
||||
|
||||
findOne(id: string) {
|
||||
return `This action returns a #${id} system`;
|
||||
return this.systemRepo.findOne({ where: { id: id } });
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
update(id: string, updateSystemDto: UpdateSystemDto) {
|
||||
throw new HttpException(
|
||||
`This action updates a #${id} system but is not implemented`,
|
||||
HttpStatus.NOT_IMPLEMENTED,
|
||||
);
|
||||
return `This action updates a #${id} system`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user