Merge pull request #273 from SyncrowIOT/feat/project-tag

New tag entitiy
This commit is contained in:
hannathkadher
2025-03-02 00:25:55 +04:00
committed by GitHub
93 changed files with 6462 additions and 3250 deletions
+6
View File
@@ -183,6 +183,12 @@ export class ProjectService {
async findOne(uuid: string): Promise<ProjectEntity> {
const project = await this.projectRepository.findOne({ where: { uuid } });
if (!project) {
throw new HttpException(
`Invalid project with uuid ${uuid}`,
HttpStatus.NOT_FOUND,
);
}
return project;
}