fix
This commit is contained in:
parent
5361184bfd
commit
9045b9ec90
1 changed files with 1 additions and 21 deletions
|
|
@ -135,27 +135,7 @@ export class ProfileEmployeeController extends Controller {
|
||||||
async updateProfile(
|
async updateProfile(
|
||||||
@Request() request: RequestWithUser,
|
@Request() request: RequestWithUser,
|
||||||
@Path() id: string,
|
@Path() id: string,
|
||||||
@Body()
|
@Body() body: UpdateProfileEmployee,
|
||||||
body: {
|
|
||||||
rank?: string | null;
|
|
||||||
prefix?: string | null;
|
|
||||||
firstName?: string | null;
|
|
||||||
lastName?: string | null;
|
|
||||||
birthDate?: Date | null;
|
|
||||||
salaryLevel?: number | null;
|
|
||||||
ethnicity?: string | null;
|
|
||||||
telephoneNumber?: string | null;
|
|
||||||
citizenId?: string;
|
|
||||||
religion: string | null;
|
|
||||||
posLevelId?: string | null;
|
|
||||||
posTypeId?: string | null;
|
|
||||||
nationality?: string | null;
|
|
||||||
gender?: string | null;
|
|
||||||
relationship?: string | null;
|
|
||||||
bloodGroup?: string | null;
|
|
||||||
email: string | null;
|
|
||||||
phone: string | null;
|
|
||||||
},
|
|
||||||
) {
|
) {
|
||||||
const exists =
|
const exists =
|
||||||
!!body.citizenId &&
|
!!body.citizenId &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue