barname bug
This commit is contained in:
@@ -56,8 +56,8 @@ export class User extends BaseEntity {
|
||||
|
||||
//-----------------------------------
|
||||
|
||||
@OneToOne(() => Company, (company) => company.user, { orphanRemoval: true })
|
||||
company!: Company & Opt;
|
||||
@OneToOne(() => Company, (company) => company.user, { orphanRemoval: true, nullable: true })
|
||||
company?: Company;
|
||||
|
||||
//-----------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user