Script that puts google sheet to calendar duplicates events every time it is run
I created a script that copies events from a google sheet and ads it to the calendar. Every time the sheet is updated the calendar needs to be updated. The problem is that the events are duplicated every time the script runs, i don’t want duplicates. Below the code: