Skip to content

Commit f98fef3

Browse files
authored
Merge pull request googleworkspace#145 from paulirish/patch-2
notification quickstart: remove destination sheet link
2 parents d24815a + 5290060 commit f98fef3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

forms/notifications/creatorNotification.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
titled <a href="<?= formUrl?>"><b><?= title ?></b></a> has received
44
<?= responses ?> responses so far.</p>
55

6-
<p><a href="<?= sheet ?>">Response sheet</a></p>
76
<p><a href="<?= summary ?>">Summary of form responses</a></p>
87

98
<p>You are receiving this email because an editor of this form configured
@@ -19,4 +18,4 @@
1918
<p style="font-size:80%">This automatic message was sent to you via the <i>Form
2019
Notifications</i> add-on for Google Forms.
2120
<?= notice ?></p>
22-
<!-- [END apps_script_forms_notifications_quickstart] -->
21+
<!-- [END apps_script_forms_notifications_quickstart] -->

forms/notifications/notification.gs

-2
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ function sendCreatorNotification() {
256256
if (MailApp.getRemainingDailyQuota() > addresses.length) {
257257
var template =
258258
HtmlService.createTemplateFromFile('CreatorNotification');
259-
template.sheet =
260-
DriveApp.getFileById(form.getDestinationId()).getUrl();
261259
template.summary = form.getSummaryUrl();
262260
template.responses = form.getResponses().length;
263261
template.title = form.getTitle();

0 commit comments

Comments
 (0)