From c7f260d0301a3c95afb727b9b9aef99872ba5b90 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 6 Jan 2021 16:49:20 +0200 Subject: [PATCH] Fix lint errors. --- models/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cards.js b/models/cards.js index e2aa6a7e4..d8d1513dd 100644 --- a/models/cards.js +++ b/models/cards.js @@ -650,7 +650,7 @@ Cards.helpers({ // match right definition to each field if (!this.customFields) return []; - let ret = this.customFields.map(customField => { + const ret = this.customFields.map(customField => { const definition = definitions.find(definition => { return definition._id === customField._id; });