From 9ab195140f1034693c9d5353266f7b128bb6f29b Mon Sep 17 00:00:00 2001 From: 1v4n4 Date: Wed, 4 Sep 2024 14:00:20 +0200 Subject: [PATCH 1/3] Change dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc7c2f6..43f3c73 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "@mailchimp/mailchimp_marketing": "^3.0.80", "@proca/crypto": "^3.4.0", - "@proca/queue": "^5.2.4", + "@proca/queue": "^5.2.3", "@sendinblue/client": "^3.3.1", "@sentry/node": "^8.25.0", "@supabase/supabase-js": "^2.39.8", From 76fc28db3e7dd9e31bc7bb3fa4f3c546edcbaa41 Mon Sep 17 00:00:00 2001 From: 1v4n4 Date: Wed, 4 Sep 2024 14:04:09 +0200 Subject: [PATCH 2/3] Add log for testing --- src/crm/gpdedatahub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crm/gpdedatahub.ts b/src/crm/gpdedatahub.ts index 4402c43..1129dca 100644 --- a/src/crm/gpdedatahub.ts +++ b/src/crm/gpdedatahub.ts @@ -25,7 +25,7 @@ class gpdedatahubCRM extends CRM { message: ActionMessage ): Promise => { const camp = await this.campaign(message.campaign); - console.log("Taken from the queue", message.action.id); + console.log("Taken from the queue", message.action.id, "test:", message.action.testing); const actionPayload = formatAction(message, camp.config); if (this.verbose) { From cbb1a9560f1ca1b49aa65fc9a40a8ac5864c1736 Mon Sep 17 00:00:00 2001 From: 1v4n4 Date: Wed, 4 Sep 2024 14:18:36 +0200 Subject: [PATCH 3/3] Add log for testing --- dist/crm/gpdedatahub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/crm/gpdedatahub.js b/dist/crm/gpdedatahub.js index 3629066..4eb18fb 100644 --- a/dist/crm/gpdedatahub.js +++ b/dist/crm/gpdedatahub.js @@ -23,7 +23,7 @@ class gpdedatahubCRM extends crm_1.CRM { // CRM will take double actions and respond with 200 status this.handleContact = (message) => __awaiter(this, void 0, void 0, function* () { const camp = yield this.campaign(message.campaign); - console.log("Taken from the queue", message.action.id); + console.log("Taken from the queue", message.action.id, "test:", message.action.testing); const actionPayload = (0, data_1.formatAction)(message, camp.config); if (this.verbose) { console.log(actionPayload);