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.
This commit is contained in:
Benjamin Tissoires 2019-03-11 10:12:19 +01:00
parent 907c761f71
commit 4c72479d12

View file

@ -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,