From cf52d8e6e4c692637e8847f10f3a01155296e546 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Mon, 21 Oct 2024 15:27:12 +0300 Subject: [PATCH] removed the linkGroupName from individual calendar entries and added it as a separate field in the request body --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index e722e87..1cedd62 100644 --- a/script.js +++ b/script.js @@ -39,7 +39,7 @@ const form = document.getElementById('merge-form'); headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ calendars: calendarsData }) + body: JSON.stringify({ linkGroupName, calendars: calendarsData }) }) .then((response) => { if (!response.ok) {