We have updated the functionality of the share schedule feature to now support setting custom time limits on invites and links. The cron job assumes that each invite is valid for only 7 days. Update this Cron job to account for the new custom time limit. The new data type of invites can be found here - https://github.com/gt-scheduler/firebase-conf/blob/main/functions/utils/types.ts
Problem Description
We have updated the functionality of the share schedule feature to now support setting custom time limits on invites and links. The cron job assumes that each invite is valid for only 7 days. Update this Cron job to account for the new custom time limit. The new data type of invites can be found here - https://github.com/gt-scheduler/firebase-conf/blob/main/functions/utils/types.ts