Skip to content

Commit f682627

Browse files
authored
Merge pull request googleworkspace#144 from paulirish/patch-1
Fix filename casing in notifications quickstart
2 parents f98fef3 + af886d6 commit f682627

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

forms/notifications/notification.gs

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function onInstall(e) {
7575
* configuring the notifications this add-on will produce.
7676
*/
7777
function showSidebar() {
78-
var ui = HtmlService.createHtmlOutputFromFile('Sidebar')
78+
var ui = HtmlService.createHtmlOutputFromFile('sidebar')
7979
.setTitle('Form Notifications');
8080
FormApp.getUi().showSidebar(ui);
8181
}
@@ -85,7 +85,7 @@ function showSidebar() {
8585
* this add-on.
8686
*/
8787
function showAbout() {
88-
var ui = HtmlService.createHtmlOutputFromFile('About')
88+
var ui = HtmlService.createHtmlOutputFromFile('about')
8989
.setWidth(420)
9090
.setHeight(270);
9191
FormApp.getUi().showModalDialog(ui, 'About Form Notifications');
@@ -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.summary = form.getSummaryUrl();
260260
template.responses = form.getResponses().length;
261261
template.title = form.getTitle();
@@ -288,7 +288,7 @@ function sendRespondentNotification(response) {
288288
.getResponse();
289289
if (respondentEmail) {
290290
var template =
291-
HtmlService.createTemplateFromFile('RespondentNotification');
291+
HtmlService.createTemplateFromFile('respondentNotification');
292292
template.paragraphs = settings.getProperty('responseText').split('\n');
293293
template.notice = NOTICE;
294294
var message = template.evaluate();

0 commit comments

Comments
 (0)