Fix lint error related to this feature

This commit is contained in:
Ghassen Rjab 2018-02-23 01:38:12 +01:00
parent 5f374b2fd2
commit ab2884cae0

View file

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