Skip to content

Commit 6a6cabd

Browse files
committed
Removed logger and debug lines
1 parent 2daf48e commit 6a6cabd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/accreditation.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import connector from "#models/databaseUtil";
2-
import { logger } from "#util";
32

4-
connector.set("debug", true);
53
const accreditationSchema = {
64
uid :{type : String, unique: true , required: true},
75
accreditationName: {type: String, required: true},
@@ -38,6 +36,7 @@ async function update(filter, updateObject) {
3836
const accreditation = await Accreditation.findOneAndUpdate(filter, updateObject, { new : true});
3937
return accreditation;
4038
}
39+
4140
export default {
4241
create, read, update, remove
4342
};

0 commit comments

Comments
 (0)