We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this part from part4, User administration, Creating a new note made me really confused. I ended up just skipping it.:
The note scheme will also need to change as follows in our models/note.js file:
const noteSchema = new mongoose.Schema({ content: { type: String, minLength: 5, required: true, }, important: Boolean, user: String,})
Maybe I didnt understand something important or maybe this is worth looking over why this part is here?
The text was updated successfully, but these errors were encountered:
Going through the same thing. The code clearly shows that it's user: type: mongoose.Schema.Types.ObjectID; ref: 'User.
user: type: mongoose.Schema.Types.ObjectID; ref: 'User
I think it's an issue that needs to be resolved.
Sorry, something went wrong.
No branches or pull requests
this part from part4, User administration, Creating a new note made me really confused. I ended up just skipping it.:
Maybe I didnt understand something important or maybe this is worth looking over why this part is here?
The text was updated successfully, but these errors were encountered: