The code you developed is super useful, I appreciate it.
It seems like there's a bug where If the registered calendar cannot be retrieved, it deletes all events.
I discovered that if responses.length at line 174 is 0, it deletes all existing events. To resolve this, I added the following code at line 176 and it worked.
The problem
The code you developed is super useful, I appreciate it.
It seems like there's a bug where If the registered calendar cannot be retrieved, it deletes all events.
I discovered that if responses.length at line 174 is 0, it deletes all existing events. To resolve this, I added the following code at line 176 and it worked.
Thanks
if (responses.length == 0) continue;
Version of GAS-ICS-Sync
5.8
Additional information & file uploads
No response