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, UpdateProfileGovernment,
} from "../entities/ProfileGovernment"; } from "../entities/ProfileGovernment";
@Route("api/v1/org/profile/familyHistory") @Route("api/v1/org/profile/government")
@Tags("ProfileFamilyHistory") @Tags("ProfileGovernment")
@Security("bearerAuth") @Security("bearerAuth")
export class ProfileFamilyHistoryController extends Controller { export class ProfileGovernmentHistoryController extends Controller {
private profileRepo = AppDataSource.getRepository(Profile); private profileRepo = AppDataSource.getRepository(Profile);
private govRepo = AppDataSource.getRepository(ProfileGovernment); private govRepo = AppDataSource.getRepository(ProfileGovernment);