Skip to content

Commit 1ad82ae

Browse files
authored
Fix filename casing in notifications quickstart
1 parent d24815a commit 1ad82ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

forms/notifications/notification.gs

+3-3
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function sendReauthorizationRequest() {
220220
if (lastAuthEmailDate != today) {
221221
if (MailApp.getRemainingDailyQuota() > 0) {
222222
var template =
223-
HtmlService.createTemplateFromFile('AuthorizationEmail');
223+
HtmlService.createTemplateFromFile('authorizationEmail');
224224
template.url = authInfo.getAuthorizationUrl();
225225
template.notice = NOTICE;
226226
var message = template.evaluate();
@@ -255,7 +255,7 @@ function sendCreatorNotification() {
255255
var addresses = settings.getProperty('creatorEmail').split(',');
256256
if (MailApp.getRemainingDailyQuota() > addresses.length) {
257257
var template =
258-
HtmlService.createTemplateFromFile('CreatorNotification');
258+
HtmlService.createTemplateFromFile('creatorNotification');
259259
template.sheet =
260260
DriveApp.getFileById(form.getDestinationId()).getUrl();
261261
template.summary = form.getSummaryUrl();
@@ -290,7 +290,7 @@ function sendRespondentNotification(response) {
290290
.getResponse();
291291
if (respondentEmail) {
292292
var template =
293-
HtmlService.createTemplateFromFile('RespondentNotification');
293+
HtmlService.createTemplateFromFile('respondentNotification');
294294
template.paragraphs = settings.getProperty('responseText').split('\n');
295295
template.notice = NOTICE;
296296
var message = template.evaluate();

0 commit comments

Comments
 (0)