Fix companyId should be nullable on person standard object

This commit is contained in:
Charles Bochet 2024-03-07 17:46:51 +01:00
parent 024156cd52
commit 5988891f5e

View File

@ -114,6 +114,7 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
icon: 'IconBuildingSkyscraper', icon: 'IconBuildingSkyscraper',
joinColumn: 'companyId', joinColumn: 'companyId',
}) })
@IsNullable()
company: CompanyObjectMetadata; company: CompanyObjectMetadata;
@FieldMetadata({ @FieldMetadata({