From 838578657da4ed46be0e32091120c7554b07c102 Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 10:43:43 +0200 Subject: template literals correction --- models/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/cards.js b/models/cards.js index d3a741bb..c77cd682 100644 --- a/models/cards.js +++ b/models/cards.js @@ -332,7 +332,7 @@ Cards.mutations({ const index = this.customFieldIndex(customFieldId); if (index > -1) { const update = {$set: {}}; - update.$set['customFields.${index}.value'] = value; + update.$set[`customFields.${index}.value`] = value; return update; } // TODO -- cgit v1.2.3-1-g7c22