diff options
author | Ignatz <computer-freak94@gmx.de> | 2018-05-18 10:43:43 +0200 |
---|---|---|
committer | Ignatz <computer-freak94@gmx.de> | 2018-05-18 10:43:43 +0200 |
commit | 838578657da4ed46be0e32091120c7554b07c102 (patch) | |
tree | b898d0f53f896c0258bfe5a11bc6373cebc0bfbf /models | |
parent | d6cfac0122dc5e6819c82f73c728488e0600cb70 (diff) | |
download | wekan-838578657da4ed46be0e32091120c7554b07c102.tar.gz wekan-838578657da4ed46be0e32091120c7554b07c102.tar.bz2 wekan-838578657da4ed46be0e32091120c7554b07c102.zip |
template literals correction
Diffstat (limited to 'models')
-rw-r--r-- | models/cards.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |