Merge pull request #4130 from bugron/fix/incorrect-collection-name
Fixes incorrect collection name in getStories function
This commit is contained in:
@ -211,7 +211,7 @@ module.exports = function(app) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
database.collection('stories').find({
|
||||
database.collection('story').find({
|
||||
'$text': {
|
||||
'$search': req.body.data ? req.body.data.searchValue : ''
|
||||
}
|
||||
|
Reference in New Issue
Block a user