You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -302,7 +302,7 @@ function checkGithubReleaseVersion_() {
302
302
break;
303
303
case-1:
304
304
console.warn('New version of ScheduleQuest is available! Download at https://github.com/leoherzog/ScheduleQuest/releases');
305
-
MailApp.sendEmail(Session.getActiveUser().getEmail(),'Newer ScheduleQuest Available','You\'re using ScheduleQuest at https://script.google.com/home/projects/'+ScriptApp.getScriptId()+'/edit. That\'s awesome! Just wanted to let you know that version'+latestRelease.name+' is now available, and you\'re currently using '+currentVersion+'. Get the new version at https://github.com/leoherzog/ScheduleQuest/releases');
305
+
MailApp.sendEmail(getCalendar('primary').id,'Newer ScheduleQuest Available','You\'re using ScheduleQuest at https://script.google.com/home/projects/'+ScriptApp.getScriptId()+'/edit. That\'s awesome! Just wanted to let you know that version'+latestRelease.name+' is now available, and you\'re currently using '+currentVersion+'. Get the new version at https://github.com/leoherzog/ScheduleQuest/releases');
306
306
break;
307
307
case1:
308
308
console.error('Local ScheduleQuest version ('+currentVersion+') is newer than current release on Github?');
0 commit comments