withDelete option to TypeOrm (#10161)
fixes https://github.com/twentyhq/core-team-issues/issues/112
This commit is contained in:
@ -77,6 +77,7 @@ export class CreateCompanyAndContactService {
|
||||
}
|
||||
|
||||
const alreadyCreatedContacts = await personRepository.find({
|
||||
withDeleted: true,
|
||||
where: {
|
||||
emails: { primaryEmail: Any(uniqueHandles) },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user