Skip to content

Commit ea8cd0f

Browse files
committed
Better sync call log to deal function
1 parent 7e69e51 commit ea8cd0f

File tree

5 files changed

+194
-191
lines changed

5 files changed

+194
-191
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": "1.3.8",
3+
"version": "1.3.9",
44
"description": "Add RingCentral Embeddable Voice widgets to Pipedrive",
55
"keywords": [
66
"RingCentral",

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export function thirdPartyServiceConfig (serviceName) {
295295
return showAuthBtn()
296296
}
297297
let phoneNumbers = _.get(data, 'body.phoneNumbers') || []
298-
let res = await match(phoneNumbers)
298+
let res = await match(phoneNumbers).catch(console.debug)
299299
rc.postMessage({
300300
type: 'rc-post-message-response',
301301
responseId: data.requestId,

src/features/contacts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
match
2323
} from 'ringcentral-embeddable-extension-common/src/common/db'
2424
import * as ls from 'ringcentral-embeddable-extension-common/src/common/ls'
25-
import { getAllDeals } from './deals'
25+
// import { getAllDeals } from './deals'
2626
import { getSessionToken } from './common'
2727
// import './add-contacts'
2828

@@ -140,7 +140,7 @@ async function fetchAllContacts () {
140140
stopLoadingContacts()
141141
notifyReSyncContacts()
142142
console.debug('end sync contacts')
143-
setTimeout(getAllDeals, 600)
143+
// setTimeout(getAllDeals, 600)
144144
}
145145

146146
/**

0 commit comments

Comments
 (0)