Sep 3, 2018 · 1 min read
Here its missing to assign the variable mongoosePaginate.
The following code should be before PostSchema.plugin();
var mongoosePaginate = require('mongoose-paginate');regards ;)
Here its missing to assign the variable mongoosePaginate.
The following code should be before PostSchema.plugin();
var mongoosePaginate = require('mongoose-paginate');regards ;)
Written by