Update app.js

This commit is contained in:
oliver
2026-06-14 20:34:37 -03:00
parent 412e93ad83
commit 897a8b459c
+3 -2
View File
@@ -1625,6 +1625,7 @@ async function crmSetStageSelected(stage) {
const ok = await confirmDialog(
`Set Stage to ${stage}`,
`Set stage to “${stage}” for ${ids.length} contact${ids.length !== 1 ? "s" : ""}?`,
stage,
);
if (!ok) return;
@@ -1650,7 +1651,7 @@ async function crmSetStageSelected(stage) {
};
try {
const res = await apiFetch(apiUrl(ROUTES.crm), {
method: "PUT",
method: "POST",
headers: apiHeaders(),
body: JSON.stringify(payload),
});
@@ -1731,7 +1732,7 @@ async function crmSaveEdit() {
try {
const res = await apiFetch(apiUrl(ROUTES.crm), {
method: "PUT",
method: "POST",
headers: apiHeaders(),
body: JSON.stringify(payload),
});