Added routes / Connection to DB fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const dishSchema = mongoose.Schema({
|
||||
id: mongoose.Types.ObjectId,
|
||||
_id: mongoose.Types.ObjectId,
|
||||
name: String,
|
||||
category: String,
|
||||
price: Number,
|
||||
|
||||
Reference in New Issue
Block a user