summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-03-11 10:12:19 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-03-11 10:12:19 +0100
commit4c72479d1206850d436261dc5c6a4127f246f6da (patch)
tree04a3362ce4f212c0956dad27fcd5b3115dd33199
parent907c761f71e8764574ac9c4f8ab1b892082a03b4 (diff)
downloadwekan-4c72479d1206850d436261dc5c6a4127f246f6da.tar.gz
wekan-4c72479d1206850d436261dc5c6a4127f246f6da.tar.bz2
wekan-4c72479d1206850d436261dc5c6a4127f246f6da.zip
customFields: fix leftover from lint
Looks like I forgot to use the camelCase notation here, and this leads to an exception while updating a custom field.
-rw-r--r--models/cards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js
index eef62be1..c3bae400 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -1412,7 +1412,7 @@ function cardCustomFields(userId, doc, fieldNames, modifier) {
// only individual changes are registered
if (dotNotation.length > 1) {
- const customFieldId = doc.customFields[dot_notation[1]]._id;
+ const customFieldId = doc.customFields[dotNotation[1]]._id;
const act = {
userId,
customFieldId,