Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Last active September 10, 2020 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/7d042116174d2cc5ffc8babeaf472ffc to your computer and use it in GitHub Desktop.
Save iaindooley/7d042116174d2cc5ffc8babeaf472ffc to your computer and use it in GitHub Desktop.
Add function in
Add this function into line 847 of apps/trellinator-libs/Card.gs:
/**
* Mark the due date on this card incomplete
* @memberof module:TrelloEntities.Card
* @example
* //Mark the due date complete on a card that was moved into the Done list
* new Notification(posted).movedCard("Done").markDueDateIncomplete();
*/
this.markDueDateIncomplete = function()
{
TrelloApi.put("cards/"+this.data.id+"?dueComplete=false");
this.data.dueComplete = false;
return this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment