GAS-ICS-Sync icon indicating copy to clipboard operation
GAS-ICS-Sync copied to clipboard

The deletion of all events

Open fred816 opened this issue 10 months ago • 1 comments

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

fred816 avatar Apr 22 '24 22:04 fred816

I think this might be a duplicate of #343

derekantrican avatar Apr 23 '24 03:04 derekantrican

Closing as duplicate of #343

Lonestarjeepin avatar Jul 01 '24 15:07 Lonestarjeepin