Fully configured response structure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import mongoose from 'mongoose';
|
||||
const Schema = mongoose.Schema;
|
||||
import mongooseApiQuery from '../utils/mongooseApiQuery';
|
||||
import mongooseApiQuery from '../plugins/buildQuery';
|
||||
|
||||
const TestUserSchema = new Schema({
|
||||
name: {type: String},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable camelcase */
|
||||
import mongoose from 'mongoose';
|
||||
const Schema = mongoose.Schema;
|
||||
import {paramParser} from '../utils/paramParser';
|
||||
import {paramParser} from '../plugins/paramParser';
|
||||
|
||||
const AuthorSchema = new Schema({
|
||||
name: String,
|
||||
|
||||
Reference in New Issue
Block a user