mirror of
https://github.com/wekan/wekan.git
synced 2026-01-20 16:26:09 +01:00
Fix errant escape-string-regexp importing
This commit is contained in:
parent
2b579372c3
commit
1b83399236
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
const escapeForRegex = require('escape-string-regexp');
|
||||
import escapeForRegex from 'escape-string-regexp';
|
||||
|
||||
CardComments = new Mongo.Collection('card_comments');
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import moment from 'moment';
|
||||
import escapeForRegex from 'escape-string-regexp';
|
||||
import Users from '../../models/users';
|
||||
import Boards from '../../models/boards';
|
||||
import Lists from '../../models/lists';
|
||||
|
|
@ -52,8 +53,6 @@ import { CARD_TYPES } from '../../config/const';
|
|||
import Org from "../../models/org";
|
||||
import Team from "../../models/team";
|
||||
|
||||
const escapeForRegex = require('escape-string-regexp');
|
||||
|
||||
Meteor.publish('card', cardId => {
|
||||
check(cardId, String);
|
||||
const ret = Cards.find({ _id: cardId });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue