Created
May 19, 2020 06:42
-
-
Save iaindooley/bab6ae13006b1ef01f78a21324c8c0fd to your computer and use it in GitHub Desktop.
Remove emailed attachments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function removeAttachmentsFromCreatedCard(notification) | |
{ | |
new Notification(notification).createdCard() | |
.attachments().each(function(att) | |
{ | |
att.remove(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment