mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-29 03:09:40 +02:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user