UBER-174: Introduce createOn every there (#3222)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-05-20 00:37:22 +07:00
committed by GitHub
parent 0f62a3175e
commit c0bb68be9e
50 changed files with 159 additions and 317 deletions
+1 -2
View File
@@ -64,7 +64,6 @@ export async function createApplication (
...data,
state: state._id,
number: (incResult as any).object.sequence,
rank: calcRank(lastOne, undefined),
createOn: Date.now()
rank: calcRank(lastOne, undefined)
})
}
+1 -2
View File
@@ -940,8 +940,7 @@ async function synchronizeUsers (
name: combineName(u.NAME, u.LAST_NAME),
avatar: u.PERSONAL_PHOTO,
active: u.ACTIVE,
city: u.PERSONAL_CITY,
createOn: Date.now()
city: u.PERSONAL_CITY
})
accountId = await ops.client.createDoc(contact.class.EmployeeAccount, core.space.Model, {
email: u.EMAIL,