File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const studentEducationSchema = {
5555 } ,
5656} ;
5757
58- const studentEducation = connector . model ( "Student education" , studentEducationSchema ) ;
58+ const StudentEducation = connector . model ( "Student education" , studentEducationSchema ) ;
5959
6060async function create ( studentEducationData ) {
6161 const {
@@ -112,7 +112,7 @@ async function create(studentEducationData) {
112112 } ,
113113 } = studentEducationData ;
114114
115- const stdEducation = new studentEducation ( {
115+ const stdEducation = new StudentEducation ( {
116116 uid,
117117 tenth : {
118118 marks,
@@ -172,7 +172,7 @@ async function create(studentEducationData) {
172172
173173async function read ( filter , limit = 1 ) {
174174 const stdEducationDoc = studentEducationSchema . find ( filter ) . limit ( limit ) ;
175- return stdEducationDoc
175+ return stdEducationDoc ;
176176}
177177
178178async function update ( filter , updateObject , options = { multi : true } ) {
You can’t perform that action at this time.
0 commit comments