This commit is contained in:
Philipinho
2024-03-24 17:02:52 +00:00
parent b44795eea3
commit a4c129c49d
4 changed files with 6 additions and 7 deletions

View File

@ -5,8 +5,7 @@ import { PageHistoryRepository } from '../repositories/page-history.repository';
@Injectable()
export class PageHistoryService {
constructor(private pageHistoryRepo: PageHistoryRepository) {
}
constructor(private pageHistoryRepo: PageHistoryRepository) {}
async findOne(historyId: string): Promise<PageHistory> {
const history = await this.pageHistoryRepo.findById(historyId);