removed the linkGroupName from individual calendar entries and added it as a separate field in the request body

This commit is contained in:
Ryan Mwangi 2024-10-21 15:27:12 +03:00
parent 2ceb708452
commit cf52d8e6e4
1 changed files with 1 additions and 1 deletions

View File

@ -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) {