mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Only fetch ZenProspect leads that have replied, for performance
This commit is contained in:
parent
c7901c3237
commit
bf1b2adf6a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ function createUpsertCloseLeadFn(zpContact) {
|
|||
function getZPRepliedContactsPage(contacts, page, done) {
|
||||
// console.log(`DEBUG: Fetching page ${page} ${zpPageSize}...`);
|
||||
const options = {
|
||||
url: `https://www.zenprospect.com/api/v1/contacts/search?codecombat_special_auth_token=${zpAuthToken}&page=${page}&per_page=${zpPageSize}`,
|
||||
url: `https://www.zenprospect.com/api/v1/contacts/search?codecombat_special_auth_token=${zpAuthToken}&page=${page}&per_page=${zpPageSize}&contact_email_replied=true`,
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue