diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2018-02-23 01:38:12 +0100 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2018-02-23 01:38:12 +0100 |
commit | ab2884cae0dab07c2fbc279e4917113c32a22921 (patch) | |
tree | 7acb22b98cc6d2ca51854f2e42cbb21d6a96ff56 /models | |
parent | 5f374b2fd2998c97481fb879dddd647e37306a5c (diff) | |
download | wekan-ab2884cae0dab07c2fbc279e4917113c32a22921.tar.gz wekan-ab2884cae0dab07c2fbc279e4917113c32a22921.tar.bz2 wekan-ab2884cae0dab07c2fbc279e4917113c32a22921.zip |
Fix lint error related to this feature
Diffstat (limited to 'models')
-rw-r--r-- | models/boards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/boards.js b/models/boards.js index 61a9c87c..55b0711c 100644 --- a/models/boards.js +++ b/models/boards.js @@ -272,7 +272,7 @@ Boards.helpers({ const projection = { limit: 10, sort: { createdAt: -1 } }; if (term) { - let regex = new RegExp(term, 'i'); + const regex = new RegExp(term, 'i'); query = { boardId: this._id, |