I am trying to develop a powerup where I need the checklist information. Reading the docs I saw: > `checkItems` are not guaranteed to be available in the `checklists` field when using `t.cards()`. The best way to get check item information is to either u

I am trying to develop a powerup where I need the checklist information. Reading the docs I saw:

checkItems are not guaranteed to be available in the checklists field when using t.cards(). The best way to get check item information is to either use the individual t.card() function in a card context, or use the API.

The checkItems is not available using t.card(). The checklist data is:

 "checklists": [
    {
      "id": "67a4b3dcfa6069aa3f8ed2a4",
      "idBoard": "664f9dba07846188080f299f",
      "idCard": "6797d57178a876c548a1c7a4",
      "name": "comunicados",
      "pos": 8192
    },
]

am I missing something? Or I need to use the API to get the checkItems?

Here is my code:

TrelloPowerUp.initialize({
    'card-buttons': function(t, options) {
      return [{
        icon: 'https://cdn.glitch.com/.../rocket-ship.png',
        text: 'Generate Release Notes',
        callback: function(t) {
          return t.card('all')
            .then(function(card) {
                console.log(JSON.stringify(card, null, 2));
            })
            .then(function() {
              return t.closePopup();
            })
            .catch(function(error) {
              return t.alert({
                message: 'Error generating notes: ' + error.message,
                duration: 5
              });
            });
        }
      }];
    }
  })