[API] Fix bug

This commit is contained in:
syuilo 2017-01-20 18:08:08 +09:00
parent 2596e82532
commit 4ad04f5bfa
1 changed files with 2 additions and 1 deletions

View File

@ -4,9 +4,10 @@
* Module dependencies
*/
import * as mongo from 'mongodb';
const escapeRegexp = require('escape-regexp');
import Post from '../../models/post';
import serialize from '../../serializers/post';
const escapeRegexp = require('escape-regexp');
import config from '../../../conf';
/**
* Search a post