checkpoint

This commit is contained in:
AdisakKanthawilang 2024-10-29 14:05:52 +07:00
parent cca4e837bc
commit f40a5f8e51
2 changed files with 164 additions and 2 deletions

View file

@ -1,4 +1,7 @@
import { Controller, Get, Route, Security, Tags } from "tsoa";
import { profile } from "console";
import { Controller, Get, Post, Query, Route, Security, Tags } from "tsoa";
import { calculateGovAge } from "../interfaces/utils";
import HttpSuccess from "../interfaces/http-success";
@Route("/hello")
@Tags("Test")
@ -8,4 +11,10 @@ export class AppController extends Controller {
public async GET() {
return { message: "Hello World 1" };
}
// @Post()
// public async Post(@Query() profileId: string) {
// const result = calculateGovAge(profileId);
// return new HttpSuccess(result);
// }
}