hk21702 / YA-GCal-Notion-Sync-Script

Script to synchronize between a Notion database and Google Calendar both ways. Uses Google App Script.
GNU General Public License v3.0
139 stars 10 forks source link

desc size validation on create #50

Closed hk21702 closed 1 year ago

hk21702 commented 1 year ago

Adds validation for description size on creation of a new Notion database entry. Partially solves #49

Note that the script will still crash with an error and consider the situation where if a GCal event that was already pushed to Notion is updated to become incompatible to be catastrophic. This is for data consistency reasons.

This change only allows the creation of new events that have too large description sizes to fail gracefully.