fix update prefix and profileId
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m45s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m45s
This commit is contained in:
parent
e4f46a1762
commit
2951630b7b
10 changed files with 201 additions and 69 deletions
|
|
@ -1,4 +1,3 @@
|
|||
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";
|
||||
|
|
@ -14,7 +13,7 @@ export class AppController extends Controller {
|
|||
|
||||
@Post()
|
||||
public async Post(@Query() profileId: string) {
|
||||
const result = calculateGovAge(profileId,"OFFICER");
|
||||
const result = calculateGovAge(profileId, "OFFICER");
|
||||
return new HttpSuccess(result);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue