แก้ไข route

This commit is contained in:
AdisakKanthawilang 2024-01-26 17:03:41 +07:00
parent a290f4692e
commit bbc700478c
2 changed files with 17 additions and 1 deletions

View file

@ -21,7 +21,7 @@ import HttpError from "../interfaces/http-error";
import HttpStatusCode from "../interfaces/http-status"; import HttpStatusCode from "../interfaces/http-status";
import { OrgRevision } from "../entities/OrgRevision"; import { OrgRevision } from "../entities/OrgRevision";
@Route("api/v1/organization") @Route("api/v1/org")
@Tags("OrgRoot") @Tags("OrgRoot")
@Security("bearerAuth") @Security("bearerAuth")
export class OrgRootController extends Controller { export class OrgRootController extends Controller {

View file

@ -113,4 +113,20 @@ export class OrganizationController extends Controller {
return error; return error;
} }
} }
/**
* API
*
* @summary ORG_023 - (ADMIN) #25
*
*/
// @Get()
// async detail(@Path() id: string) {
// try {
// return new HttpSuccess();
// } catch (error) {
// return error;
// }
// }
} }