We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3db905 commit 117a2c1Copy full SHA for 117a2c1
app.js
@@ -78,4 +78,5 @@ app.listen(process.env.PORT || 3000)
78
79
app.use((req, res)=>{
80
res.render("404", { title: '404 Page not found'})
81
-})
+})
82
+
models/code.js
@@ -19,4 +19,4 @@ const codeSchema = mongoose.Schema({
19
}
20
}, { timestamps: true })
21
22
-module.exports = mongoose.model('codeBoxes', codeSchema)
+module.exports = mongoose.model('codeboxes', codeSchema)
0 commit comments