Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2022-10-28 22:16:09 +07:00
committed by GitHub
parent a5fbf5b59e
commit 9dbdf4dba8
4 changed files with 26 additions and 6 deletions
+3 -1
View File
@@ -660,7 +660,9 @@ async function createTalants (
const document = await recognize(rekoniUrl, data.base64Data, token)
if (document !== undefined) {
if (document.title !== undefined) {
await client.update(doc, { title: document.title })
await client.updateMixin(doc._id, contact.class.Person, doc.space, recruit.mixin.Candidate, {
title: document.title
})
}
await updateAvatar(doc, document, connection, client)