Este es mi esquema. Pero no puedo insertar datos en la imagen de BicepsExcercise Por favor, ayúdenme con los Controladores para agregar algunos datos en Biceps Excercise. Cuando trato de insertar los datos directamente accediendo al ejercicio, no sucede nada. Quiero insertar datos en bicepsExcercise y en el campo Imagen
const mongoose = require('mongoose') const DataModel = new mongoose.Schema({ excercise: [{ bicepsExerciseImage: { image: { type: String }, bicepsExercise: { type: { type: String }, name: { type: String, }, videoUrl: { type: String, }, time: { type: String, default: "Null" }, image: { type: String, } }, } }] }) module.exports = mongoose.model('DataModels', DataModel)