mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
Fix bitrix gmail sync (#2918)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
cab96e795d
commit
4b091fa868
@ -244,7 +244,7 @@ export async function syncDocument (
|
||||
valValue.attachedTo = id
|
||||
} else {
|
||||
// Update document id, for existing document.
|
||||
valValue.attachedTo = resultDoc.document._id
|
||||
valValue.attachedTo = attachedTo
|
||||
}
|
||||
const existingIdx = existingByClass.findIndex((it) => {
|
||||
const bdoc = hierarchy.as<Doc, BitrixSyncDoc>(it, bitrix.mixin.BitrixSyncDoc)
|
||||
|
Loading…
Reference in New Issue
Block a user