Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The deletion of all events #436

Closed
fred816 opened this issue Apr 22, 2024 · 2 comments
Closed

The deletion of all events #436

fred816 opened this issue Apr 22, 2024 · 2 comments

Comments

@fred816
Copy link

fred816 commented Apr 22, 2024

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

@derekantrican
Copy link
Owner

I think this might be a duplicate of #343

@Lonestarjeepin
Copy link
Collaborator

Closing as duplicate of #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants