mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-23 09:37:54 +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