callix-dialer-widget 1.3.9 → 1.3.10
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.
|
@@ -55406,8 +55406,8 @@ async function getCampaignConfig(contactId) {
|
|
|
55406
55406
|
const url = `${API_BASE_URL}/api/campaign-config/${contactId}`;
|
|
55407
55407
|
const response = await fetch(url, {
|
|
55408
55408
|
method: "GET",
|
|
55409
|
-
credentials: "
|
|
55410
|
-
//
|
|
55409
|
+
credentials: "omit"
|
|
55410
|
+
// API usa localStorage, não cookies
|
|
55411
55411
|
});
|
|
55412
55412
|
if (!response.ok) {
|
|
55413
55413
|
const error2 = await response.json().catch(() => ({ error: "Erro desconhecido" }));
|
|
@@ -55420,7 +55420,7 @@ async function getCodeToNameMapping(campaignModelId) {
|
|
|
55420
55420
|
const url = `${API_BASE_URL}/api/campaign-fields/${campaignModelId}`;
|
|
55421
55421
|
const response = await fetch(url, {
|
|
55422
55422
|
method: "GET",
|
|
55423
|
-
credentials: "
|
|
55423
|
+
credentials: "omit"
|
|
55424
55424
|
});
|
|
55425
55425
|
if (!response.ok) {
|
|
55426
55426
|
const error2 = await response.json().catch(() => ({ error: "Erro desconhecido" }));
|
|
@@ -55433,7 +55433,7 @@ async function getContactValues(contactId) {
|
|
|
55433
55433
|
const url = `${API_BASE_URL}/api/campaign-contact/${contactId}`;
|
|
55434
55434
|
const response = await fetch(url, {
|
|
55435
55435
|
method: "GET",
|
|
55436
|
-
credentials: "
|
|
55436
|
+
credentials: "omit"
|
|
55437
55437
|
});
|
|
55438
55438
|
if (!response.ok) {
|
|
55439
55439
|
const error2 = await response.json().catch(() => ({ error: "Erro desconhecido" }));
|