12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
|
import { Controller, Get } from "@nestjs/common";
|
||
|
import { AppService } from "./app.service";
|
||
|
|
||
|
@Controller()
|
||
|
export class AppController {
|
||
|
constructor(private readonly appService: AppService) {}
|
||
|
|
||
|
@Get("/ping-a")
|
||
|
pingServiceA() {
|
||
|
return this.appService.pingServiceA();
|
||
|
}
|
||
|
}
|