Update app.js
This commit is contained in:
@@ -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),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user