Skip to content

Commit c66a4dc

Browse files
committed
feat: Remove sync call/sms log to deal function, due to PipeDrive api only support sync to only one deal
1 parent dc316cc commit c66a4dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive-embeddable-ringcentral-phone-spa",
3-
"version": "2.11.1",
3+
"version": "2.11.2",
44
"description": "Add RingCentral Embeddable Voice widgets to Pipedrive",
55
"keywords": [
66
"RingCentral",

src/features/call-log-sync.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
match
2121
} from 'ringcentral-embeddable-extension-common/src/common/db'
2222
import { getUserId } from './activities'
23-
import { notifySyncSuccess, getDealId } from './call-log-sync-to-deal'
23+
import { notifySyncSuccess } from './call-log-sync-to-deal'
2424
import * as ls from 'ringcentral-embeddable-extension-common/src/common/ls'
2525
import copy from 'json-deep-copy'
2626

@@ -329,10 +329,10 @@ async function doSyncOne (contact, body, formData, isManuallySync) {
329329
_meta: {},
330330
attendees: []
331331
}
332-
let dealId = await getDealId(contact)
333-
if (dealId) {
334-
bd.deal_id = dealId
335-
}
332+
// let dealId = await getDealId(contact)
333+
// if (dealId) {
334+
// bd.deal_id = dealId
335+
// }
336336
let res = await fetch.post(url, bd)
337337
let success = res && res.data
338338
if (success) {

0 commit comments

Comments
 (0)