mapado route -> 'mapado-api'
This commit is contained in:
parent
37a84058d1
commit
dde1813f78
12 changed files with 127 additions and 42 deletions
|
|
@ -66,7 +66,7 @@ function connect() {
|
|||
fetch(
|
||||
"https://ticketing.mapado.net/v1/ticketings/" +
|
||||
id.value +
|
||||
"?fields=title,slug,sellingDeviceSchedule",
|
||||
"?fields=id,title,slug,sellingDeviceSchedule",
|
||||
requestOptions
|
||||
)
|
||||
.then((response) => {
|
||||
|
|
@ -91,7 +91,7 @@ function connect() {
|
|||
result.sellingDeviceSchedule[scheduleFirstKey].fr.toLowerCase()
|
||||
);
|
||||
console.log(result);
|
||||
text.value = `<strong>Événement correspondant sur Mapado : <em>${result.title}</em>, ${schedule}.</strong> <a href="https://desk.mapado.com/activity/${result.slug}/events" target="_blank">Gérer sur Mapado.</a>`;
|
||||
text.value = `<strong>Événement correspondant sur Mapado : <em>${result.title}</em>, ${schedule}</strong> (<a href="https://desk.mapado.com/mass-action/ticketing/${id.value}" target="_blank">gérer sur Mapado.</a>).`;
|
||||
})
|
||||
.catch((error) => {
|
||||
icon.value = "alert";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue