Skip to content
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.

Error: trello.get is not a function #57

Open
chexburger opened this issue Jun 2, 2019 · 0 comments
Open

Error: trello.get is not a function #57

chexburger opened this issue Jun 2, 2019 · 0 comments

Comments

@chexburger
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant