Skip to content

Commit 777b10d

Browse files
authored
Update Prevent_unnecessary_notifications_from_being_sent_out.js
Updated the update method to updateMultiple method as per Lazlo's instructions.
1 parent 3aed752 commit 777b10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Background Scripts/Prevent unnecessary notifications from being sent out/Prevent_unnecessary_notifications_from_being_sent_out.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ emailGR.query();
1010
while (emailGR.next()) {
1111
emailGR.state = "ignored"; //setting state to "ignored"
1212
emailGR.type = 'send-ignored'; // Set the type to 'ignored'
13-
emailGR.update(); // Save the changes
13+
emailGR.updateMultiple(); // Save the changes
1414
}
1515

1616
gs.info('All relevant emails have been marked as ignored.');

0 commit comments

Comments
 (0)