n8n-nodes-idb2b 3.1.9 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,9 +117,6 @@ class IDB2B {
|
|
|
117
117
|
if (phone_number)
|
|
118
118
|
contactData.phone_number = phone_number;
|
|
119
119
|
body = (0, common_1.buildContactRequestBody)(contactData);
|
|
120
|
-
// DEBUG: remove after fix confirmed
|
|
121
|
-
console.log('[IDB2B DEBUG] contact create body:', JSON.stringify(body));
|
|
122
|
-
console.log('[IDB2B DEBUG] raw params - email:', JSON.stringify(email), 'phone:', JSON.stringify(phone_number), 'additionalFields:', JSON.stringify(additionalFields));
|
|
123
120
|
initialBody = body;
|
|
124
121
|
}
|
|
125
122
|
else if (operation === "update") {
|
|
@@ -209,10 +206,6 @@ class IDB2B {
|
|
|
209
206
|
endpoint = `${constants_1.ENDPOINTS.COMPANIES}/${(0, common_1.sanitizeId)(companyId)}`;
|
|
210
207
|
}
|
|
211
208
|
}
|
|
212
|
-
// DEBUG: remove after fix confirmed
|
|
213
|
-
if (operation === "create" && resource === "contact") {
|
|
214
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), new Error(`DEBUG body sent: ${JSON.stringify(body)}`), { itemIndex: i });
|
|
215
|
-
}
|
|
216
209
|
const response = await httpClient.makeRequest({
|
|
217
210
|
method,
|
|
218
211
|
url: `${credentials.baseUrl}${endpoint}`,
|