[API] Fix bug
This commit is contained in:
parent
2596e82532
commit
4ad04f5bfa
1 changed files with 2 additions and 1 deletions
|
@ -4,9 +4,10 @@
|
||||||
* Module dependencies
|
* Module dependencies
|
||||||
*/
|
*/
|
||||||
import * as mongo from 'mongodb';
|
import * as mongo from 'mongodb';
|
||||||
|
const escapeRegexp = require('escape-regexp');
|
||||||
import Post from '../../models/post';
|
import Post from '../../models/post';
|
||||||
import serialize from '../../serializers/post';
|
import serialize from '../../serializers/post';
|
||||||
const escapeRegexp = require('escape-regexp');
|
import config from '../../../conf';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Search a post
|
* Search a post
|
||||||
|
|
Loading…
Reference in a new issue