node-trello icon indicating copy to clipboard operation
node-trello copied to clipboard

Error: trello.get is not a function

Open chexburger opened this issue 6 years ago • 0 comments

I'm doing everything correctly according to documentation but I'm continually getting an error returned saying that trello.get is not a function. Code: trello.get("/1/lists/" + listId + "/cards?fields=id,name,desc",{ cards: "open" }, function(err, data){ if (err){ console.log(err) }else{ blacklists = data } });

My code above for logging into trello is: var Trello = require('trello'); var trello = new Trello("KEY", "TOKEN"); I obviously have the Key and Token fields filled.

chexburger avatar Jun 02 '19 13:06 chexburger