UBER-665: Rename EmployeeAccount->PersonAccount (#3550)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-08-05 01:06:21 +07:00
committed by GitHub
parent 9acc1b86a0
commit 161d26ebeb
181 changed files with 1215 additions and 1159 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export async function diffWorkspace (mongoUrl: string, workspace: WorkspaceId, r
.find<Tx>({
objectSpace: core.space.Model,
modifiedBy: core.account.System,
objectClass: { $ne: contact.class.EmployeeAccount }
objectClass: { $ne: contact.class.PersonAccount }
})
.toArray()
@@ -41,7 +41,7 @@ export async function diffWorkspace (mongoUrl: string, workspace: WorkspaceId, r
return (
tx.objectSpace === core.space.Model &&
tx.modifiedBy === core.account.System &&
(tx as any).objectClass !== contact.class.EmployeeAccount
(tx as any).objectClass !== contact.class.PersonAccount
)
})