removed the linkGroupName from individual calendar entries and added it as a separate field in the request body
This commit is contained in:
parent
2ceb708452
commit
cf52d8e6e4
|
@ -39,7 +39,7 @@ const form = document.getElementById('merge-form');
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ calendars: calendarsData })
|
body: JSON.stringify({ linkGroupName, calendars: calendarsData })
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
|
Loading…
Reference in New Issue