Require path
parent
6e134f6187
commit
c98c3d0e44
|
@ -1,7 +1,7 @@
|
|||
const mongoose = require('mongoose');
|
||||
|
||||
const UserSchema = require('../models/user');
|
||||
const NoteSchema = require('../models/note');
|
||||
const UserSchema = require.main.require('./app/models/user');
|
||||
const NoteSchema = require.main.require('./app/models/note');
|
||||
|
||||
const db = require('./db.config');
|
||||
|
||||
|
|
Loading…
Reference in New Issue