From 9b3df793085b4d61c5b8b438846a8623ab72f8af Mon Sep 17 00:00:00 2001 From: Norbert Eder Date: Wed, 10 Nov 2021 10:49:15 +0100 Subject: [PATCH] Renam SetCustomFieldOnCard to setCustomFieldOnCard --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 3096f39..6b26d68 100644 --- a/main.js +++ b/main.js @@ -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);