Skip to content

Commit

Permalink
Renam SetCustomFieldOnCard to setCustomFieldOnCard
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertax committed Nov 10, 2021
1 parent 26dacf9 commit 9b3df79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ Trello.prototype.addOptionToCustomField = function (customField, value, callback
return makeRequest(rest.post, this.uri + '/1/customFields/' + customField + '/options', {data: data, query:query}, callback);
};

Trello.prototype.SetCustomFieldOnCard = function (cardId, customField, value, callback) {
Trello.prototype.setCustomFieldOnCard = function (cardId, customField, value, callback) {
var query = this.createQuery();

return makeRequest(rest.put, this.uri + '/1/card/' + cardId + '/customField/' + customField + '/item', {data: value, query: query}, callback);
Expand Down

0 comments on commit 9b3df79

Please sign in to comment.