Skip to content

Commit

Permalink
remove update
Browse files Browse the repository at this point in the history
* removed updateone method
  • Loading branch information
Elkrival committed Jun 6, 2024
1 parent 57b7518 commit 46cd133
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/models/AssessmentDayDataModel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ const AssessmentDayDataModel = {
await db
.collection(collections.assessmentDayData)
.insertMany(assessmentDayData),
update: async (db, query, assessmentDayDataAttributes) =>
await db
.collection(collections.assessmentDayData)
.updateOne(query, { $set: assessmentDayDataAttributes }),
index: async (db, query) =>
await db
.collection(collections.assessmentDayData)
Expand Down

0 comments on commit 46cd133

Please sign in to comment.