feat: implement Database Manager module with encryption, CRUD operations, and migration management
This commit is contained in:
@ -15,7 +15,7 @@ export class ProjectService {
|
||||
return this.projectRepository.save(project);
|
||||
}
|
||||
|
||||
findByToken(token: string) {
|
||||
return this.projectRepository.findOne({ where: { token } });
|
||||
findById(id: string) {
|
||||
return this.projectRepository.findOne({ where: { id: id } });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user