You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trello.prototype.getCard=function(boardId,cardId,fields,callback){// Back compatible: If last argument is a callback, then no fields are givenif(typeoffields==="function"){callback=fields}if(boardId===null)returnmakeRequest(rest.get,this.uri+'/1/cards/'+cardId,fields,callback);returnmakeRequest(rest.get,this.uri+'/1/boards/'+boardId+'/cards/'+cardId,fields,callback);};
Does this make sense?
The text was updated successfully, but these errors were encountered:
I'd like this kind of signature to be supported:
getCardById("id", { checklists: "all" })
This could be implemented in a backward compatible way, as a new argument right before the
callback
.The
createQuery
could be extended to accept an object as argument, which it mixes withkey
andtoken
.Does this make sense?
The text was updated successfully, but these errors were encountered: