chore: test new field

This commit is contained in:
jinhojang6 2024-03-11 03:05:33 +09:00
parent e352f5b08d
commit 5ac24a80ba
1 changed files with 7 additions and 3 deletions

View File

@ -26,7 +26,7 @@
const reason = form.querySelector("#form-reason").value;
const res = await fetch(
`https://odoo.logos.co/website_mass_mailing/subscribe2`,
`https://odoo.logos.co/web/dataset/call_kw/mailing.contact/create`,
{
method: "POST",
headers: {
@ -38,10 +38,14 @@
params: {
value: email,
name: name || "",
x_x_handle: x || "",
x_reason: reason || "",
list_id: 12,
subscription_type: "email",
args: [
{
x_social: x || "",
x_reason: reason || "",
},
],
},
}),
}