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
For anyone coming here, while the merge request is not merged, you can do this "ugly solution"
constTrello=require('trello-node-api');consttrelloMethod=require('trello-node-api/lib/TrelloMethod');consttrello=newTrello('abc','def');// This overrides the trello library as the searchLabels is outdated.trello.board.searchLabels=trelloMethod({method: 'GET',path: '/{id}/labels',urlParams: ['id'],});
board.searchLabels
method I think calls an incorrect endpointsearchLabels: trelloMethod({ method: 'GET', path: '/{id}/customLabels', urlParams: [ 'id' ] }),
path should be
'/{id}/labels'
base on API documentationhttps://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-labels-get
The text was updated successfully, but these errors were encountered: