Workflows

This commit is contained in:
Bastian Wagner
2024-11-28 12:15:04 +01:00
parent 540011fd57
commit 70c56e4d0b
3 changed files with 35 additions and 11 deletions

View File

@@ -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`;
}