แก้ชื่อ report2

This commit is contained in:
Kittapath 2024-02-12 09:50:04 +07:00
parent 0819836932
commit 748c91747e
2 changed files with 56 additions and 4 deletions

View file

@ -44,13 +44,13 @@ export class ReportController extends Controller {
private child4Repository = AppDataSource.getRepository(OrgChild4);
/**
* API
* API Report2
*
* @summary ORG_029 - (ADMIN) #32
* @summary Report2
*
*/
@Get("position")
async findPosition() {
@Get("report2")
async findReport2() {
try {
const orgRevision = await this.orgRevisionRepository.findOne({
where: { orgRevisionIsDraft: true, orgRevisionIsCurrent: false },