Compare commits
2 commits
a107987000
...
bcea5099bc
Author | SHA1 | Date | |
---|---|---|---|
bcea5099bc | |||
e11aa4c751 |
1 changed files with 21 additions and 17 deletions
|
@ -8,7 +8,7 @@ export class CatsService {
|
||||||
constructor(
|
constructor(
|
||||||
@InjectRepository(Cat)
|
@InjectRepository(Cat)
|
||||||
private catsRepository: Repository<Cat>,
|
private catsRepository: Repository<Cat>,
|
||||||
) {}
|
) { }
|
||||||
|
|
||||||
private readonly logger = new Logger(CatsService.name);
|
private readonly logger = new Logger(CatsService.name);
|
||||||
|
|
||||||
|
@ -26,4 +26,8 @@ export class CatsService {
|
||||||
this.logger.log("[remove] Starting...");
|
this.logger.log("[remove] Starting...");
|
||||||
await this.catsRepository.delete(id)
|
await this.catsRepository.delete(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lazygitTest(): void {
|
||||||
|
this.logger.log("[lazygitTest] test no. 1")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue