| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import { Controller, Get } from '@nestjs/common'; |
||
| 3 | |||
| 4 | @Controller() |
||
| 5 | export class AppController { |
||
| 6 | constructor(private readonly appService: AppService) { |
||
| 7 | } |
||
| 8 | |||
| 9 | @Get('/default') |
||
| 10 | handleDefaultEvent() { |
||
| 11 | this.appService.handleDefaultEvent(); |
||
| 12 | } |
||
| 13 | |||
| 14 | @Get('/rabbit') |
||
| 15 | rabbit() { |
||
| 16 | this.appService.rabbitEvent(); |
||
| 17 | } |
||
| 19 |