fix: duplicate name

This commit is contained in:
Methapon2001 2024-03-20 16:29:40 +07:00
parent 0a432844c0
commit 7002f543ba

View file

@ -24,10 +24,10 @@ import {
UpdateProfileGovernment,
} from "../entities/ProfileGovernment";
@Route("api/v1/org/profile/familyHistory")
@Tags("ProfileFamilyHistory")
@Route("api/v1/org/profile/government")
@Tags("ProfileGovernment")
@Security("bearerAuth")
export class ProfileFamilyHistoryController extends Controller {
export class ProfileGovernmentHistoryController extends Controller {
private profileRepo = AppDataSource.getRepository(Profile);
private govRepo = AppDataSource.getRepository(ProfileGovernment);