From 4c72479d1206850d436261dc5c6a4127f246f6da Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Mon, 11 Mar 2019 10:12:19 +0100 Subject: [PATCH] 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. --- models/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cards.js b/models/cards.js index eef62be13..c3bae400b 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,