mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 10:46:17 +00:00
Make jobTitle and phoneNumber optional in InviteUserEntity and DTO
This commit is contained in:
@ -34,7 +34,7 @@ export class InviteUserEntity extends AbstractEntity<InviteUserDto> {
|
||||
email: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
nullable: true,
|
||||
})
|
||||
jobTitle: string;
|
||||
|
||||
@ -52,7 +52,7 @@ export class InviteUserEntity extends AbstractEntity<InviteUserDto> {
|
||||
})
|
||||
public lastName: string;
|
||||
@Column({
|
||||
nullable: false,
|
||||
nullable: true,
|
||||
})
|
||||
public phoneNumber: string;
|
||||
|
||||
|
Reference in New Issue
Block a user